Sunil Mohan Adapa a3e21adc8b
*: Various isort fixes
- Done automatically by running isort . in top level directory.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-09-20 16:50:37 -04:00

19 lines
449 B
Python

# SPDX-License-Identifier: AGPL-3.0-or-later
"""
URLs for the Single Sign On module.
"""
from django.conf.urls import url
from stronghold.decorators import public
from plinth.utils import non_admin_view
from .views import SSOLoginView, refresh
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'),
]