【问题标题】:opensaml::BindingException when logging out of a Shibboleth Service Provider with Azure ActiveDirectory as IdP使用 Azure ActiveDirectory 作为 IdP 注销 Shibboleth 服务提供程序时的 opensaml::BindingException
【发布时间】:2021-01-16 12:43:11
【问题描述】:

当用户单击注销时,我会将他们重定向到“/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.

【问题讨论】:

    标签: azure azure-active-directory shibboleth federated-identity shibboleth-sp


    【解决方案1】:

    在 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。

    【讨论】:

      猜你喜欢
      • 2014-03-24
      • 1970-01-01
      • 2013-07-14
      • 1970-01-01
      • 1970-01-01
      • 2021-11-12
      • 1970-01-01
      • 2019-09-26
      相关资源
      最近更新 更多