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

Change AuthnContext to use a better AUTHN_CONTEXT_UNSPECIFIED context #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

thomasjosif
Copy link

Resolves #59 by changing the constant used to a better option as I explained in the issue.

@upwebdesign
Copy link
Contributor

@thomasjosif Hmm, Im not sure simply switching out the constant is the best solution here. Most SP's expect NameID context and may require it. Maybe we can default to Name ID context and allow to change the context based on the .env?

Copy link
Contributor

@upwebdesign upwebdesign left a comment

Choose a reason for hiding this comment

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

@thomasjosif this brings up some potential issues with other service providers and I think this is a great start to fixing an issue, however, simply changing the constant I don't think provides any further improvement to the existing code. Maybe we can incorporate a new environment attribute that will be read. The documentation would also need to be updated to support this change. I think you really have something going with this PR. If you have any questions regarding this review, please reach out and let me know!

@upwebdesign
Copy link
Contributor

@thomasjosif, can you make this change more accessible using a config option? That would be great! Let me know if you have the time o make that change.

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.

AuthnContextClassRef - Unspecified value using weird constant.
2 participants