Fix oauth2 authorisation form not working
This commit is contained in:
@ -2,11 +2,11 @@
|
||||
|
||||
from django.urls import include, path
|
||||
|
||||
# from passbook.oauth_provider.views import oauth2
|
||||
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.PassbookAuthorizationView.as_view(), name="oauth2-authorize"),
|
||||
# OAuth API
|
||||
path('', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
]
|
||||
|
Reference in New Issue
Block a user