forked from OTA-Insight/djangosaml2idp
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathurls.py
20 lines (17 loc) · 791 Bytes
/
urls.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
from django.urls import path
from . import views
app_name = 'djangosaml2idp'
urlpatterns = [
path('login/', views.LoginAuthView.as_view(), name='login'),
path('sso/init', views.SSOInitView.as_view(), name="saml_idp_init"),
path('sso/<str:binding>', views.sso_entry, name="saml_login_binding"),
path('login/process/', views.LoginProcessView.as_view(),
name='saml_login_process'),
path('login/process_multi_factor/', views.get_metadata,
name='saml_multi_factor'),
path('login/process_user_agreement/',
views.UserAgreementScreen.as_view(), name='saml_user_agreement'),
path('slo/<str:binding>', views.LogoutProcessView.as_view(),
name="saml_logout_binding"),
path('metadata/', views.metadata, name='saml2_idp_metadata'),
]