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

Name ID format not included in assertionInfo #54

Open
angusshire opened this issue May 17, 2019 · 1 comment
Open

Name ID format not included in assertionInfo #54

angusshire opened this issue May 17, 2019 · 1 comment

Comments

@angusshire
Copy link

angusshire commented May 17, 2019

The SAML assertion includes the NameID format along with the NameID. For example, a SAML assertion sent back from the IdP could have:

<saml:NameID
Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">
3f7b3dcf-1674-4ecd-92c8-1544f346baf8
</saml:NameID>

Having the NameID format available in AssertionInfo could be useful for service providers if they only accept certain kinds of NameID formats and want to validate based off this field.

@joernlenoch
Copy link

We encountered this issue as well.

I've created a simple fix which would resolve this issue: #80

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