我设置了 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 元数据中是否需要一些配置?