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

fix: check Destination url against the request URL or the ACS url #577

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

Conversation

studouglas
Copy link

The SAML spec requires the Destination in the SAML Response matches the URL that the response is submitted to. Previous logic approximated this by checking against the ACS URL, but that may be different than the current URL if there are query params.

This PR updates the matching logic to us the request URL or the ACS URL. This is done to prevent any breakages if clients were depending on the ACS URL matching.

Closes #525.

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.

Response Destination Validation - Query Strings
1 participant