Skip to content
Snippets Groups Projects
Commit 4177e2e2 authored by Tom Teichler's avatar Tom Teichler :beers:
Browse files

Move oauth urls to root

parent 1c10a716
No related branches found
No related tags found
1 merge request!973Resolve "[OAuth] .well-known must be mounted under /"
Pipeline #112830 failed
......@@ -25,6 +25,12 @@ urlpatterns = [
path("__icons__/", include("dj_iconify.urls")),
path("graphql/", csrf_exempt(GraphQLView.as_view(graphiql=True)), name="graphql"),
path("logo", views.LogoView.as_view(), name="logo"),
path(
".well-known/openid-configuration/",
ConnectDiscoveryInfoView.as_view(),
name="oidc_configuration",
),
path("oauth/", include("oauth2_provider.urls", namespace="oauth2_provider")),
path(
"django/",
include(
......@@ -160,11 +166,6 @@ urlpatterns = [
path("search/", views.PermissionSearchView.as_view(), name="haystack_search"),
path("maintenance-mode/", include("maintenance_mode.urls")),
path("impersonate/", include("impersonate.urls")),
path(
".well-known/openid-configuration/",
ConnectDiscoveryInfoView.as_view(),
name="oidc_configuration",
),
path(
"oauth/applications/",
views.OAuth2ListView.as_view(),
......@@ -195,7 +196,7 @@ urlpatterns = [
views.CustomAuthorizationView.as_view(),
name="oauth2_provider:authorize",
),
path("oauth/", include("oauth2_provider.urls", namespace="oauth2_provider")),
path("__i18n__/", include("django.conf.urls.i18n")),
path(
"ckeditor/upload/",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment