【问题标题】:WebSite - SimpleSAMLphp - Facebook Workplace authorization网站 - SimpleSAMLphp - Facebook Workplace 授权
【发布时间】:2018-03-25 14:02:11
【问题描述】:

我需要实现我们网站和“Facebook Workplace”服务的同步用户账号授权。

我需要通过 SSO SAML 来完成,我知道 SimpleSAMLphp 应用程序可以提供帮助。

我有一个 FBWP SSO 配置页面,并在我们网站的子文件夹中安装了 SimpleSAMLphp。

我必须如何为“Facebook Workplace”(FBWP) 配置 SimpleSAMLphp 以实现帐户同步授权?

FBWP 配置页面截图:

【问题讨论】:

    标签: php single-sign-on saml-2.0 simplesamlphp facebook-workplace


    【解决方案1】:

    在您的 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,
    

    );

    【讨论】:

      猜你喜欢
      • 2013-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-11-03
      • 1970-01-01
      • 1970-01-01
      • 2023-03-23
      相关资源
      最近更新 更多