Navigation Menu

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 hooks to retrieve last-sent and last-received requests and responses #171

Merged
merged 4 commits into from Dec 1, 2016

Conversation

pitbulk
Copy link
Contributor

@pitbulk pitbulk commented Nov 29, 2016

To get more data for troubleshooting in production, we've added hooks to allow us to pull the relevant XML documents out of python-saml.

With the methods:

  • get_last_request_xml
  • get_last_response_xml

It able to get:

  • Last SAMLResponse processed by process_response
  • Last SAMLRequest sent by login
  • Last SAMLRequest sent by logout
  • Last SAMLRequest processed by process_slo
  • Last SAMLResponse processed by process_slo
  • Last SAMLRequest sent by process_slo
  • Last SAMLResponse sent by process_slo

@haikuginger
Copy link
Contributor

Looks good to me @pitbulk! Thanks so much!

@pitbulk pitbulk merged commit 0ede13f into master Dec 1, 2016
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.

None yet

2 participants