我需要实现我们的网站和"Facebook工作场所“服务的同步用户帐户授权。
我需要通过SSO SAML来做这件事,而且我知道SimpleSAMLphp应用程序可以对此有所帮助。
我有一个FBWP SSO配置页面和安装在我们网站的子文件夹中的SimpleSAMLphp。
我必须如何为"Facebook Workplace“配置SimpleSAMLphp,以便同步授权帐户?
带有FBWP配置页面的屏幕截图:

发布于 2018-04-10 02:37:57
在saml20-sp-remote.php中添加适当的元数据。
$metadata['https://www.facebook.com/company/xxxxxxxxxx'] = array (
'entityid' => 'https://www.facebook.com/company/xxxxxxxxxx',
'contacts' =>
array (
),
'metadata-set' => 'saml20-sp-remote',
'AssertionConsumerService' =>
array (
0 =>
array (
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
'Location' => 'https://yourcompany.facebook.com/work/saml.php',
'index' => 0,
'isDefault' => true,
),
),
'SingleLogoutService' =>
array (
),
'NameIDFormat' => 'urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress',
'simplesaml.nameidattribute' => 'username',
'validate.authnrequest' => false,
'saml20.sign.assertion' => false,);
https://stackoverflow.com/questions/46729828
复制相似问题