0

当用户单击注销时,我将他们重定向到“/Shibboleth.sso/Logout”
这成功地将他们带到 Microsoft 注销页面,然后他们被重定向回 SP。
但是,当它们返回到 SP 时,它们会收到一条 SOAP 错误消息。

opensaml::BindingException

The system encountered an error at Wed Sep 30 19:13:08 2020

To report this problem, please contact the site administrator at help@example.com.

Please include the following message in any email:

opensaml::BindingException at (https://app/Shibboleth.sso/SLO/SOAP)

Invalid content type for SOAP message.
4

1 回答 1

0

在 Azure 上配置 SP 时,我按原样上传了元数据。
这填充了 Azure 上的字段,并且大部分工作正常。
但是,它将注销 url 作为元数据中的第一个条目:

<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:SOAP" Location="https://app/Shibboleth.sso/SLO/SOAP"/>
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://app/Shibboleth.sso/SLO/Redirect"/>
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST" Location="https://app/Shibboleth.sso/SLO/POST"/>
<md:SingleLogoutService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Artifact" Location="https://app/Shibboleth.sso/SLO/Artifact"/>

Azure 应该使用“https://app/Shibboleth.sso/SLO/Redirect”位置,而不是使用 SOAP url。

天蓝色配置

正确的注销页面

于 2020-09-30T19:23:36.717 回答