providers/oidc: remove LoginRequired from AuthorizationFlowInitView as user is redirected within

This commit is contained in:
Jens Langhammer 2020-07-25 21:34:51 +02:00
parent 9c1a824dc4
commit 9793b7461b
1 changed files with 1 additions and 2 deletions

View File

@ -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