providers/oauth: remove LoginRequired from AuthorizationFlowInitView as user is redirected within
This commit is contained in:
parent
72a6f9cbe0
commit
ae629d1159
|
@ -1,5 +1,4 @@
|
||||||
"""passbook OAuth2 Views"""
|
"""passbook OAuth2 Views"""
|
||||||
from django.contrib.auth.mixins import LoginRequiredMixin
|
|
||||||
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect
|
from django.http import HttpRequest, HttpResponse, HttpResponseRedirect
|
||||||
from django.shortcuts import get_object_or_404
|
from django.shortcuts import get_object_or_404
|
||||||
from django.views import View
|
from django.views import View
|
||||||
|
@ -37,7 +36,7 @@ PLAN_CONTEXT_NONCE = "nonce"
|
||||||
PLAN_CONTEXT_SCOPE_DESCRIPTION = "scope_descriptions"
|
PLAN_CONTEXT_SCOPE_DESCRIPTION = "scope_descriptions"
|
||||||
|
|
||||||
|
|
||||||
class AuthorizationFlowInitView(PolicyAccessMixin, LoginRequiredMixin, View):
|
class AuthorizationFlowInitView(PolicyAccessMixin, View):
|
||||||
"""OAuth2 Flow initializer, checks access to application and starts flow"""
|
"""OAuth2 Flow initializer, checks access to application and starts flow"""
|
||||||
|
|
||||||
# pylint: disable=unused-argument
|
# pylint: disable=unused-argument
|
||||||
|
|
Reference in New Issue