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

Add subjectNameId to Subject #13

Merged
merged 2 commits into from
Aug 22, 2022
Merged

Add subjectNameId to Subject #13

merged 2 commits into from
Aug 22, 2022

Conversation

kdxu
Copy link
Contributor

@kdxu kdxu commented Aug 1, 2022

I added subjectNameId, so that SP can identify users by identifier.

Copy link
Owner

@mbg mbg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @kdxu, thank you for this contribution!

I am happy to accept this, although looking at the specification, the NameID element has some attributes that we might want to parse as well, such as Format. In which case, it might be good to introduce a new type here for NameID instead of just using Text. Even if you don't want to deal with parsing any attributes right now, it might be good to introduce that type in order to limit breaking changes in the future.

@kdxu
Copy link
Contributor Author

kdxu commented Aug 19, 2022

@mbg
Thanks for the review.
As you pointed out, I defined SubjectNameID as type synonim.
05139ac

@mbg
Copy link
Owner

mbg commented Aug 22, 2022

Thanks for making the change @kdxu!

@mbg mbg merged commit 180fb85 into mbg:master Aug 22, 2022
@mbg
Copy link
Owner

mbg commented Aug 24, 2022

This is now released as https://hackage.haskell.org/package/wai-saml2-0.3.0.0, thank you again!

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

Successfully merging this pull request may close these issues.

None yet

3 participants