oauth2 not working
This commit is contained in:
@@ -237,10 +237,10 @@ handler500 = views.error500_view
|
||||
|
||||
|
||||
urlpatterns = [
|
||||
re_path(r'^oauth2/', include('provider.oauth2.urls', namespace = 'oauth2')),
|
||||
# re_path(r'^oauth2/', include('provider.oauth2.urls', namespace = 'oauth2')),
|
||||
# re_path(r'^o/authorize/$', base.AuthorizationView.as_view(), name="authorize"),
|
||||
# re_path(r'^o/token/$', base.TokenView.as_view(), name="token"),
|
||||
path('o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
re_path('^o/', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
||||
re_path(r'^', include(router.urls)),
|
||||
re_path(r'^api-docs/$', views.schema_view, name='schema_view'),
|
||||
re_path(r'^api-auth/', include('rest_framework.urls',
|
||||
|
||||
Reference in New Issue
Block a user