Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

saml: Pass correct settings object to OneLogin_Saml2_Logout_Request.

Mateusz Mandera64a04d90b284
diff --git a/zproject/backends.py b/zproject/backends.py
index 82cff7c7b8b..7fb67fe0c02 100644
--- a/zproject/backends.py
+++ b/zproject/backends.py
@@ -2279,7 +2279,7 @@ class SAMLAuthBackend(SocialAuthMixin, SAMLAuth):
# The only valid SAMLRequest we can receive is a LogoutRequest.
logout_request_xml = OneLogin_Saml2_Logout_Request(
- config, saml_response_or_request[0]
+ saml_settings, saml_response_or_request[0]
).get_xml()
issuers = [OneLogin_Saml2_Logout_Request.get_issuer(logout_request_xml)]
except self.SAMLRESPONSE_PARSING_EXCEPTIONS: