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

Api to extract response ids? #62

Closed
jborg opened this issue Aug 31, 2017 · 1 comment · Fixed by #63
Closed

Api to extract response ids? #62

jborg opened this issue Aug 31, 2017 · 1 comment · Fixed by #63

Comments

@jborg
Copy link
Contributor

jborg commented Aug 31, 2017

What is the recommended method to detect and stop replay attacts in the IdP initiated scenario?

My initial idea was to persist all previously seen Response and Assertion ids ignore responses that contain preciously seen Response or Assertion ids. Unfortunately I've not been able to find any good way to extract these ids from the response. They seem to be added to a local variable called "verified_ids" but there is no way to access it.

@pitbulk
Copy link
Contributor

pitbulk commented Sep 13, 2017

You can persist the ids a short period of time (as far as the SAMLResponse is not consider expired).

I will review and merge your PR today and plan to do a new release too.

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 a pull request may close this issue.

2 participants