【发布时间】:2015-04-19 03:19:30
【问题描述】:
我设置了 PingFederate IdP,我想为基于 SimpleSAMLphp 的 SP 启用 SSO。 PingFederate 配置要求使用 POST 绑定发送 SAML 请求,以及将 LogoutRequest 作为 POST 请求发送。 SimpleSAML 将 SAML 请求发送到默认 HTTP 重定向绑定中的 SignOnService。我尝试通过以下方式更改 saml20-idp-remote.php 中 idp 的绑定:
'SingleSignOnService' => array(
0 => array(
'Binding' => 'urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST',
'Location' => 'https://myidp.com'
),
),
当我尝试测试身份验证时,选择 IdP 后,我收到以下错误:
Exception during login:
Exception: saml20-idp-remote/'stagingsp'['SingleSignOnService']:Could not find a supported SingleSignOnService endpoint.
我没有设置正确的绑定,还是我以不正确的方式进行设置? SP 元数据中是否需要一些配置?
【问题讨论】:
-
您是否手动编辑了该绑定?如果是,您不应该(saml20-idp-remote.php 是从 IdP 解析的元数据所在的文件)
标签: simplesamlphp