2014-12-19 15:27:43 +00:00
|
|
|
from django.conf.urls import patterns, include, url
|
|
|
|
from django.views.decorators.csrf import csrf_exempt
|
2015-02-18 18:07:22 +00:00
|
|
|
from oidc_provider.views import *
|
2014-12-19 15:27:43 +00:00
|
|
|
|
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
2015-02-11 18:37:51 +00:00
|
|
|
|
|
|
|
url(r'^authorize/$', AuthorizeView.as_view(), name='authorize'),
|
|
|
|
url(r'^token/$', csrf_exempt(TokenView.as_view()), name='token'),
|
|
|
|
url(r'^userinfo/$', csrf_exempt(userinfo), name='userinfo'),
|
2014-12-19 15:27:43 +00:00
|
|
|
|
2015-03-04 19:24:41 +00:00
|
|
|
url(r'^\.well-known/openid-configuration/$', ProviderInfoView.as_view(), name='provider_info'),
|
2015-07-13 20:35:18 +00:00
|
|
|
url(r'^jwks/$', JwksView.as_view(), name='jwks'),
|
2015-03-04 19:24:41 +00:00
|
|
|
|
2014-12-19 15:27:43 +00:00
|
|
|
)
|