fix IDP-initiated login not working

This commit is contained in:
Jens Langhammer 2019-03-07 14:10:06 +01:00
parent 99c82676b6
commit c2ebff55ef

View file

@ -219,6 +219,5 @@ class InitiateLoginView(ProviderMixin, LoginRequiredMixin, View):
def dispatch(self, request, application):
"""Initiates an IdP-initiated link to a simple SP resource/target URL."""
super().dispatch(request, application)
self.provider.processor.init_deep_link(request, '')
return _generate_response(request, self.provider)