We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b84d55a commit 6f1d6f5Copy full SHA for 6f1d6f5
src/saml2/s2repoze/plugins/sp.py
@@ -484,9 +484,13 @@ def identify(self, environ):
484
485
if logout and "SAMLRequest" in post:
486
print("logout request received")
487
+ if binding == BINDING_HTTP_REDIRECT:
488
+ saml_request = post["SAMLRequest"]
489
+ else:
490
+ saml_request = post["SAMLRequest"][0]
491
try:
492
response = self.saml_client.handle_logout_request(
- post["SAMLRequest"][0],
493
+ saml_request,
494
self.saml_client.users.subjects()[0], binding)
495
environ['samlsp.pending'] = self._handle_logout(response)
496
return {}
0 commit comments