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 in_response_to from saml_session to SAML2 validator #58

Merged
merged 1 commit into from
Jun 11, 2021

Conversation

brunato
Copy link
Collaborator

@brunato brunato commented Jun 11, 2021

This PR should fix the failed CI tests of PR #55.

The request ID is extracted from saml_session's cache an provided to Saml2ResponseValidator with the option in_response_to (into method djangosaml2_spid.views.AssertionConsumerServiceView.custom_validation()).

I left a comment about the opportunity to filter cache's values on destination path (/spid/echo_attributes), particularly if the cache contains more values. Currently this is not clear to me.

@brunato brunato requested a review from peppelinux June 11, 2021 16:23
Copy link
Member

@peppelinux peppelinux left a comment

Choose a reason for hiding this comment

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

You did it

@peppelinux peppelinux merged commit 9dbd837 into italia:dev Jun 11, 2021
@peppelinux
Copy link
Member

@brunato feel free to merge dev into main branch and please go ahead with a new release

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