Skip to content

Commit

Permalink
enable normal backend for flat admin #171
Browse files Browse the repository at this point in the history
  • Loading branch information
proycon committed Feb 19, 2021
1 parent 635a674 commit 630afb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/languagemachines-python/templates/flat_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,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 = "{{ oauth_client_id }}" #As provided by your authorization provider, do not check this into public version control!!!
OIDC_RP_CLIENT_SECRET = "{{ oauth_client_secret }}" #As provided by your authorization provider, Do not check this into public version control!!!
Expand Down

0 comments on commit 630afb1

Please sign in to comment.