Fix oauth2 authorisation form not working

This commit is contained in:
Jens Langhammer
2018-11-25 12:31:55 +01:00
parent 9967319294
commit 76a43a7818
6 changed files with 25 additions and 24 deletions

View File

@ -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')),
]