From 9793b7461bf02d2256fe980010756766c88f3f3d Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 25 Jul 2020 21:34:51 +0200 Subject: [PATCH] providers/oidc: remove LoginRequired from AuthorizationFlowInitView as user is redirected within --- passbook/providers/oidc/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/passbook/providers/oidc/views.py b/passbook/providers/oidc/views.py index 1640445d3..20eb7a40c 100644 --- a/passbook/providers/oidc/views.py +++ b/passbook/providers/oidc/views.py @@ -1,5 +1,4 @@ """passbook OIDC Views""" -from django.contrib.auth.mixins import LoginRequiredMixin from django.http import HttpRequest, HttpResponse, JsonResponse from django.shortcuts import get_object_or_404, reverse from django.views import View @@ -30,7 +29,7 @@ PLAN_CONTEXT_PARAMS = "params" PLAN_CONTEXT_SCOPES = "scopes" -class AuthorizationFlowInitView(PolicyAccessMixin, LoginRequiredMixin, View): +class AuthorizationFlowInitView(PolicyAccessMixin, View): """OIDC Flow initializer, checks access to application and starts flow""" # pylint: disable=unused-argument