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

Validation of audience restrictions #35

Merged
merged 4 commits into from Feb 6, 2023
Merged

Validation of audience restrictions #35

merged 4 commits into from Feb 6, 2023

Conversation

Philonous
Copy link
Contributor

@Philonous Philonous commented Nov 16, 2022

This PR implements validation of audience restrictions. It adds a new configuration option audiences and a new error type AudienceMismatch

Closes #34

Checklist

  • All definitions are documented with Haddock-style comments.
  • All exported definitions have @since annotations.
  • Code is formatted in line with the existing code.
  • The changelog has been updated.

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.

This is a great addition, thank you very much @Philonous. I just have a few minor suggestions from reviewing the code. Otherwise this seems good to me.

CHANGELOG.md Outdated Show resolved Hide resolved
src/Network/Wai/SAML2/Validation.hs Outdated Show resolved Hide resolved
src/Network/Wai/SAML2/Validation.hs Show resolved Hide resolved
@mbg mbg mentioned this pull request Dec 19, 2022
4 tasks
@mbg mbg merged commit f9d6467 into mbg:master Feb 6, 2023
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.

Incomplete handling of Conditions
2 participants