From 72a6f9cbe0cd1013a8fd56356fb6a99c2d3baf69 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 25 Jul 2020 21:36:04 +0200 Subject: [PATCH] providers/saml: remove LoginRequired from SAMLSSOView as user is redirected within --- passbook/providers/saml/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/passbook/providers/saml/views.py b/passbook/providers/saml/views.py index 7d4751f55..f2162b5e8 100644 --- a/passbook/providers/saml/views.py +++ b/passbook/providers/saml/views.py @@ -1,7 +1,6 @@ """passbook SAML IDP Views""" from typing import Optional -from django.contrib.auth.mixins import LoginRequiredMixin from django.core.validators import URLValidator from django.http import HttpRequest, HttpResponse from django.shortcuts import get_object_or_404, redirect, render @@ -47,7 +46,7 @@ REQUEST_KEY_RELAY_STATE = "RelayState" SESSION_KEY_AUTH_N_REQUEST = "authn_request" -class SAMLSSOView(PolicyAccessMixin, LoginRequiredMixin, View): +class SAMLSSOView(PolicyAccessMixin, View): """"SAML SSO Base View, which plans a flow and injects our final stage. Calls get/post handler."""