mirror of https://github.com/zulip/zulip.git
saml: Pass correct settings object to OneLogin_Saml2_Logout_Request.
config is a dict, but the OneLogin_Saml2_Logout_Request expects to receive a OneLogin_Saml2_Settings object.
This commit is contained in:
parent
f21cee7caa
commit
64a04d90b2
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue