providers/saml: fix wrong key being used for params

This commit is contained in:
Jens Langhammer 2020-02-24 17:48:03 +01:00
parent a5bfef9b6b
commit 39a208c55f

View file

@ -135,7 +135,7 @@ class InitiateLoginView(AccessRequiredView):
self.provider.processor.is_idp_initiated = True self.provider.processor.is_idp_initiated = True
self.provider.processor.init_deep_link(request) self.provider.processor.init_deep_link(request)
params = self.provider.processor.generate_response() params = self.provider.processor.generate_response()
request.session[SESSION_KEY_SAML_RESPONSE] = params request.session[SESSION_KEY_PARAMS] = params
return redirect( return redirect(
reverse( reverse(
"passbook_providers_saml:saml-login-authorize", "passbook_providers_saml:saml-login-authorize",