django-oidc-provider/oidc_provider/urls.py

15 lines
599 B
Python
Raw Normal View History

from django.conf.urls import url
2014-12-19 15:27:43 +00:00
from django.views.decorators.csrf import csrf_exempt
from oidc_provider import views
2014-12-19 15:27:43 +00:00
urlpatterns = [
url(r'^authorize/?$', views.AuthorizeView.as_view(), name='authorize'),
url(r'^token/?$', csrf_exempt(views.TokenView.as_view()), name='token'),
url(r'^userinfo/?$', csrf_exempt(views.userinfo), name='userinfo'),
url(r'^logout/?$', views.LogoutView.as_view(), name='logout'),
2015-02-11 18:37:51 +00:00
url(r'^\.well-known/openid-configuration/?$', views.ProviderInfoView.as_view(), name='provider_info'),
url(r'^jwks/?$', views.JwksView.as_view(), name='jwks'),
]