Skip to content

Commit

Permalink
create users when they do'nt exist when logging in via oauth
Browse files Browse the repository at this point in the history
  • Loading branch information
landrej committed Dec 18, 2024
1 parent b96172c commit 7aeef3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafundament_fb/datafundament_fb/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@
OIDC_OP_LOGOUT_ENDPOINT = f"{OIDC_BASE_URL}/oauth2/v2.0/logout"
OIDC_RP_SIGN_ALGO = "RS256"
OIDC_AUTH_REQUEST_EXTRA_PARAMS = {"prompt": "select_account"}
OIDC_CREATE_USER = False
OIDC_CREATE_USER = True
# Turn PKCE on for single-page applications! Because the client_secret is not secure in SPAs.
# You cannot turn this on by default because it breaks the authorization code flow for regular web applications.
OIDC_USE_PKCE = False

0 comments on commit 7aeef3d

Please sign in to comment.