Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assertion Consumer Service URL vs Recipient #672

Open
kristof-mattei opened this issue Oct 19, 2023 · 1 comment
Open

Assertion Consumer Service URL vs Recipient #672

kristof-mattei opened this issue Oct 19, 2023 · 1 comment

Comments

@kristof-mattei
Copy link

I'm working on integrating an SP with Ruby-SAML.

They POST a SAML assertion to me, and I validate it.

In terms of terminology they mandate the Assertion Consumer Service URL, which is where they will post the signed SAMLResponse to, AND a Recipient, which is put in the Subject as follows:

...
    <saml2:Subject>
      <saml2:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName">john.doe@example.com</saml2:NameID>
      <saml2:SubjectConfirmation Method="urn:oasis:names:tc:SAML:2.0:cm:bearer">
        <saml2:SubjectConfirmationData NotOnOrAfter="2023-10-18T23:57:46.794Z" Recipient="https://example.com/some-value-i-put-in-there" />
      </saml2:SubjectConfirmation>
    </saml2:Subject>
...

However ruby-saml says that the Recipient in Subject/SubjectConfirmation/SubjectConfirmationData IS the assertion_consumer_service_url. I cannot separate them, which is confusing against the control panel I'm filling out.

Would this be a bug / missing feature in ruby-saml?

@pitbulk
Copy link
Collaborator

pitbulk commented Nov 15, 2023

The toolkit assumes that ACS endpoint gonna be the Recipient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants