django-oidc-provider/openid_provider/urls.py

12 lines
434 B
Python
Raw Normal View History

2014-12-19 15:27:43 +00:00
from django.conf.urls import patterns, include, url
from django.views.decorators.csrf import csrf_exempt
from openid_provider.views import *
2014-12-19 15:27:43 +00:00
urlpatterns = patterns('',
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
)