core: add loading view for authorisation views
This commit is contained in:
@ -6,7 +6,10 @@ from passbook.oauth_provider.views import oauth2
|
||||
|
||||
urlpatterns = [
|
||||
# Custom OAuth 2 Authorize View
|
||||
path('authorize/', oauth2.PassbookAuthorizationView.as_view(), name="oauth2-authorize"),
|
||||
path('authorize/', oauth2.PassbookAuthorizationLoadingView.as_view(),
|
||||
name="oauth2-authorize"),
|
||||
path('authorize/permission_ok/', oauth2.PassbookAuthorizationView.as_view(),
|
||||
name="oauth2-ok-authorize"),
|
||||
# OAuth API
|
||||
path('', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
]
|
||||
|
Reference in New Issue
Block a user