Commit 6957ee19 authored by Lukas Burgey's avatar Lukas Burgey
Browse files

Fix the auth urls

parent 50b384fb
......@@ -5,13 +5,13 @@ from django.views.decorators.csrf import csrf_exempt
from .views import webpage, clients
URLPATTERNS = [
url(r'^info', webpage.AuthInfo.as_view()),
url(r'^request', webpage.Auth.as_view(), name='login'),
url(r'^callback', webpage.AuthCallback.as_view(), name='callback'),
url(r'^logout', webpage.LogoutView.as_view()),
url(r'/info$', webpage.AuthInfo.as_view()),
url(r'/request$', webpage.Auth.as_view(), name='login'),
url(r'/callback$', webpage.AuthCallback.as_view(), name='callback'),
url(r'/logout$', webpage.LogoutView.as_view()),
url(r'^client/user', csrf_exempt(clients.user_endpoint)),
url(r'^client/vhost', csrf_exempt(clients.vhost_endpoint)),
url(r'^client/resource', csrf_exempt(clients.resource_endpoint)),
url(r'^client/topic', csrf_exempt(clients.topic_endpoint)),
url(r'/client/user$', csrf_exempt(clients.user_endpoint)),
url(r'/client/vhost$', csrf_exempt(clients.vhost_endpoint)),
url(r'/client/resource$', csrf_exempt(clients.resource_endpoint)),
url(r'/client/topic$', csrf_exempt(clients.topic_endpoint)),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment