This repository has been archived on 2024-05-31. You can view files and clone it, but cannot push or open issues or pull requests.
2018-11-16 08:10:35 +00:00
|
|
|
"""passbook oauth_provider urls"""
|
|
|
|
|
|
|
|
from django.urls import include, path
|
|
|
|
|
2018-11-25 11:31:55 +00:00
|
|
|
from passbook.oauth_provider.views import oauth2
|
2018-11-16 08:10:35 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
|
|
|
# Custom OAuth 2 Authorize View
|
2018-11-25 11:31:55 +00:00
|
|
|
path('authorize/', oauth2.PassbookAuthorizationView.as_view(), name="oauth2-authorize"),
|
2018-11-16 08:10:35 +00:00
|
|
|
# OAuth API
|
2018-11-16 10:41:14 +00:00
|
|
|
path('', include('oauth2_provider.urls', namespace='oauth2_provider')),
|
2018-11-16 08:10:35 +00:00
|
|
|
]
|