2018-11-16 09:08:15 +00:00
|
|
|
"""passbook SAML IDP URLs"""
|
2018-12-26 13:32:33 +00:00
|
|
|
from django.urls import path
|
2018-11-16 08:10:35 +00:00
|
|
|
|
2019-10-07 14:33:48 +00:00
|
|
|
from passbook.providers.saml import views
|
2018-11-16 08:10:35 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2020-06-07 14:35:08 +00:00
|
|
|
# SSO Bindings
|
2019-12-31 11:51:16 +00:00
|
|
|
path(
|
2020-06-07 14:35:08 +00:00
|
|
|
"<slug:application_slug>/sso/binding/redirect/",
|
|
|
|
views.SAMLSSOBindingRedirectView.as_view(),
|
|
|
|
name="sso-redirect",
|
2019-12-31 11:51:16 +00:00
|
|
|
),
|
2020-02-18 09:57:30 +00:00
|
|
|
path(
|
2020-06-07 14:35:08 +00:00
|
|
|
"<slug:application_slug>/sso/binding/post/",
|
|
|
|
views.SAMLSSOBindingPOSTView.as_view(),
|
|
|
|
name="sso-post",
|
2020-02-18 09:57:30 +00:00
|
|
|
),
|
2020-06-07 14:35:08 +00:00
|
|
|
# SSO IdP Initiated
|
2019-12-31 11:51:16 +00:00
|
|
|
path(
|
2020-06-07 14:35:08 +00:00
|
|
|
"<slug:application_slug>/sso/binding/init/",
|
|
|
|
views.SAMLSSOBindingInitView.as_view(),
|
|
|
|
name="sso-init",
|
2019-12-31 11:51:16 +00:00
|
|
|
),
|
|
|
|
path(
|
2020-06-07 14:35:08 +00:00
|
|
|
"<slug:application_slug>/metadata/",
|
2019-12-31 11:51:16 +00:00
|
|
|
views.DescriptorDownloadView.as_view(),
|
2020-06-07 14:35:08 +00:00
|
|
|
name="metadata",
|
2019-12-31 11:51:16 +00:00
|
|
|
),
|
2018-11-16 08:10:35 +00:00
|
|
|
]
|