providers/*: fix plan stages not being injected properly
This commit is contained in:
		| @ -69,7 +69,7 @@ class AuthorizationFlowInitView(AccessMixin, View): | |||||||
|                 PLAN_CONTEXT_NONCE: request.GET.get(PLAN_CONTEXT_NONCE), |                 PLAN_CONTEXT_NONCE: request.GET.get(PLAN_CONTEXT_NONCE), | ||||||
|             }, |             }, | ||||||
|         ) |         ) | ||||||
|         plan.stages.append(in_memory_stage(OAuth2Stage)) |         plan.append(in_memory_stage(OAuth2Stage)) | ||||||
|         self.request.session[SESSION_KEY_PLAN] = plan |         self.request.session[SESSION_KEY_PLAN] = plan | ||||||
|         return redirect_with_qs( |         return redirect_with_qs( | ||||||
|             "passbook_flows:flow-executor-shell", |             "passbook_flows:flow-executor-shell", | ||||||
|  | |||||||
| @ -89,7 +89,7 @@ class SAMLSSOView(LoginRequiredMixin, SAMLAccessMixin, View): | |||||||
|             self.request, |             self.request, | ||||||
|             {PLAN_CONTEXT_SSO: True, PLAN_CONTEXT_APPLICATION: self.application}, |             {PLAN_CONTEXT_SSO: True, PLAN_CONTEXT_APPLICATION: self.application}, | ||||||
|         ) |         ) | ||||||
|         plan.stages.append(in_memory_stage(SAMLFlowFinalView)) |         plan.append(in_memory_stage(SAMLFlowFinalView)) | ||||||
|         self.request.session[SESSION_KEY_PLAN] = plan |         self.request.session[SESSION_KEY_PLAN] = plan | ||||||
|         return redirect_with_qs( |         return redirect_with_qs( | ||||||
|             "passbook_flows:flow-executor-shell", |             "passbook_flows:flow-executor-shell", | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Jens Langhammer
					Jens Langhammer