From 919ea15d74d29a7826fd425e01e7972fa5c2a424 Mon Sep 17 00:00:00 2001 From: Andrey Rusakov Date: Wed, 9 Oct 2024 16:50:09 +0200 Subject: [PATCH] Fix possible bad merge that breaks OIDC client auth --- urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urls.py b/urls.py index b48b0225..58bf6087 100644 --- a/urls.py +++ b/urls.py @@ -98,7 +98,7 @@ # OIDC urls if settings.OIDC_ENABLED: urlpatterns += [ - path(f'{ROOTURL}oidc/token', oidc.validate_token, name='oidc_validate_token'), + path(f'{ROOTURL}oidc/token', oidc.FrontendAuthentication.as_view(), name='oidc_validate_token'), path(f'{ROOTURL}oidc/callback', OIDCCallbackClass.as_view(), name='oidc_authentication_callback'), path(f'{ROOTURL}oidc/authenticate/', OIDCAuthenticateClass.as_view(), name='oidc_authentication_init'), path(f'{ROOTURL}oidc/logout', OIDCLogoutView.as_view(), name='oidc_logout'),