Sunil Mohan Adapa 9368504da5
*.py: Use SPDX license identifier
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2020-02-19 14:38:55 +02:00

18 lines
448 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
URLs for the Single Sign On module.
"""
from django.conf.urls import url
from .views import SSOLoginView, refresh
from stronghold.decorators import public
from plinth.utils import non_admin_view
urlpatterns = [
url(r'^accounts/sso/login/$', public(SSOLoginView.as_view()),
name='sso-login'),
url(r'^accounts/sso/refresh/$', non_admin_view(refresh),
name='sso-refresh'),
]