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

Feature Request: NameID type validation #166

Open
sandmman opened this issue Mar 27, 2019 · 0 comments
Open

Feature Request: NameID type validation #166

sandmman opened this issue Mar 27, 2019 · 0 comments

Comments

@sandmman
Copy link

sandmman commented Mar 27, 2019

Our team needs to be able to validate the nameID format of the SAML response assertion.

<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">[email protected]</saml:NameID>

Currently, there doesn't seem to be a way to directly perform validation using saml2, so we have to parse the XML response ourselves and perform the check separately. This is fine, except in the case when the assertion is encrypted, which forces us to make another operationally costly decryption (one by saml2 and one by us).

Would it be possible to have saml2 either return the decrypted assertion or explicitly validate the name ID during validation?

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

1 participant