在使用Google Apps作为身份提供者时如何配置“单一注销”?

Tob*_*ühl 3 google-apps single-sign-on saml-2.0 google-sso

Google文档所述您可以将Google Apps用作SAML 2.0 IdP。IdP元数据包含SSO的URL,但不包含SLO URL:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" entityID="https://accounts.google.com/o/saml2?idpid=XXXXXXXX" validUntil="xxxxxxx">
  <md:IDPSSODescriptor WantAuthnRequestsSigned="false" protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
    <md:KeyDescriptor use="signing">
      <ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
    <ds:X509Data>
      <ds:X509Certificate>....</ds:X509Certificate>
    </ds:X509Data>
      </ds:KeyInfo>
    </md:KeyDescriptor>
    <md:NameIDFormat>urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress</md:NameIDFormat>
    <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="https://accounts.google.com/o/saml2/idp?idpid=XXXXXXXXX"/>
    <md:SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"     Location="https://accounts.google.com/o/saml2/idp?idpid=XXXXXXXXX"/>
  </md:IDPSSODescriptor>
</md:EntityDescriptor>
Run Code Online (Sandbox Code Playgroud)

尝试仅对SLO使用相同的URL会导致Google错误:

Error parsing the request, malformed_request: The SAML request is malformed. That’s all we know.
Run Code Online (Sandbox Code Playgroud)

当然,您可以重定向到https://accounts.google.com/logout,但这只会结束Google会话。

Google文档中未提及SLO。支持吗?

And*_* K. 5

Google不支持SAML SLO作为身份或服务提供商。