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

Do not validate time when handling unexpected NotBefore attribute #394

Merged

Conversation

ajlugt
Copy link
Contributor

@ajlugt ajlugt commented Sep 10, 2021

According to http://docs.oasis-open.org/security/saml/v2.0/saml-profiles-2.0-os.pdf, the SubjectConfirmation element MUST NOT contain a NotBefore attribute. SAML2Utils correctly throws an exception when NotBefore is present, however before doing so, it also checks time validity against the attribute value! This does not make sense.

@vharseko vharseko merged commit 45213fd into OpenIdentityPlatform:master Sep 10, 2021
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.

2 participants