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

时间:2018-07-16 11:24:19

标签: single-sign-on google-apps saml-2.0 google-sso

in the Google docs所述,您可以将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>

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

Error parsing the request, malformed_request: The SAML request is malformed. That’s all we know.

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

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

1 个答案:

答案 0 :(得分:4)

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