kumidc/kumidc/urls.py
2022-08-22 09:37:16 +00:00

16 lines
585 B
Python

from django.contrib import admin
from django.urls import path, re_path, include, reverse_lazy
from django.views.generic import RedirectView
urlpatterns = [
re_path(r'^openid/', include('oidc_provider.urls', namespace='oidc_provider')),
re_path(r'^saml/', include('djangosaml2idp.urls', namespace="djangosaml2idp")),
path('admin/login/', RedirectView.as_view(url=reverse_lazy("auth:login"), query_string=True)),
path('admin/', admin.site.urls),
path('auth/', include(("authentication.urls", "auth"))),
path('', include(("frontend.urls", "frontend"))),
]