diff --git a/config/urls.py b/config/urls.py index 645845e98..152d29917 100644 --- a/config/urls.py +++ b/config/urls.py @@ -26,7 +26,7 @@ urlpatterns = [ path("admin/", admin.site.urls), # Pro Connect URLs. - path("", include(openid_connect_urls)), + path("pro_connect/", include(openid_connect_urls)), # www. path("", include(pages_urls)), path("members/", include(forum_member_urls)), diff --git a/lacommunaute/openid_connect/urls.py b/lacommunaute/openid_connect/urls.py index 1fd7e9c38..e15331b54 100644 --- a/lacommunaute/openid_connect/urls.py +++ b/lacommunaute/openid_connect/urls.py @@ -6,7 +6,7 @@ app_name = "openid_connect" urlpatterns = [ - path("pro_connect/authorize", views.pro_connect_authorize, name="authorize"), - path("pro_connect/callback", views.pro_connect_callback, name="callback"), - path("pro_connect/logout", views.pro_connect_logout, name="logout"), + path("authorize", views.pro_connect_authorize, name="authorize"), + path("callback", views.pro_connect_callback, name="callback"), + path("logout", views.pro_connect_logout, name="logout"), ]