Files
edx-platform/common/djangoapps/third_party_auth/urls.py
Michael Roytman 6d2e273819 address review
2019-04-24 21:02:35 -04:00

16 lines
753 B
Python

"""Url configuration for the auth module."""
from django.conf.urls import include, url
from .views import (inactive_user_view, lti_login_and_complete_view,
post_to_custom_auth_form, saml_metadata_view, IdPRedirectView)
urlpatterns = [
url(r'^auth/inactive', inactive_user_view, name="third_party_inactive_redirect"),
url(r'^auth/custom_auth_entry', post_to_custom_auth_form, name='tpa_post_to_custom_auth_form'),
url(r'^auth/saml/metadata.xml', saml_metadata_view),
url(r'^auth/login/(?P<backend>lti)/$', lti_login_and_complete_view),
url(r'^auth/idp_redirect/(?P<provider_slug>[\w-]+)', IdPRedirectView.as_view(), name="idp_redirect"),
url(r'^auth/', include('social_django.urls', namespace='social')),
]