Download & Extend

Recipient value needs to be equal to the ACS URL

Project:Google Apps Authentication
Version:5.x-1.0
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active

Issue Summary

http://groups.google.com/group/google-apps-apis/browse_thread/thread/35c...
For example, if your domain is "domain.com" and your ACS URL is
"https://www.google.com/a/domain.com/acs", then the Recipient
attribute in the SAMLResponse would be:

<samlp:Response ...>
  <saml:Assertion ...>
    <saml:Subject>
      <saml:NameID ...>u...@domain.com</saml:NameID>
      <saml:SubjectConfirmation ...>
        <saml:SubjectConfirmationData Recipient="https://
www.google.com/a/domain.com/acs" .../>
      </saml:SubjectConfirmation>
    </saml:Subject>
  </saml:Assertion>
</samlp:Response>

Comments

#1

The value of $curr in googleauth.module is incorrect. It doesn't have the required tag - SubjectConfirmationData. I have replaced it with the response XML template obtained from the PHP reference implementation of SSO provided by Google. The patch for googleauth.module with required changes is attached.

AttachmentSize
googleauth.module.patch 5.72 KB
nobody click here