From cc12da02fc0f4a22ba58a10d52f039c5d0b95020 Mon Sep 17 00:00:00 2001 From: Maarten van Gompel Date: Fri, 19 Feb 2021 18:02:44 +0100 Subject: [PATCH] we still need the normal auth backend for the admin panel I think #168 --- settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings.py b/settings.py index b324fb6..28350d1 100644 --- a/settings.py +++ b/settings.py @@ -307,7 +307,7 @@ #note: The redirect url you register with your authorization provider should end in /oidc/callback/ -#AUTHENTICATION_BACKENDS = ( 'mozilla_django_oidc.auth.OIDCAuthenticationBackend',) +#AUTHENTICATION_BACKENDS = ( 'django.contrib.auth.backends.ModelBackend','mozilla_django_oidc.auth.OIDCAuthenticationBackend',) #OIDC_RP_CLIENT_ID = "" #As provided by your authorization provider, do not check this into public version control!!! #OIDC_RP_CLIENT_SECRET = ""#As provider by your authorization provider, Do not check this into public version control!!!