Skip to content

Commit

Permalink
allow to handle socialaccount only with variables
Browse files Browse the repository at this point in the history
  • Loading branch information
nicokant committed Nov 19, 2024
1 parent f75069d commit ec48863
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
SOCIALACCOUNT_ADAPTER = env("SOCIALACCOUNT_ADAPTER")

if OIDC_CLIENT_ID := env("OIDC_CLIENT_ID", default=None):
SOCIALACCOUNT_ONLY = True
SOCIALACCOUNT_ONLY = env.bool("SOCIALACCOUNT_ONLY", default=True)
SOCIALACCOUNT_STORE_TOKENS = env("SOCIALACCOUNT_STORE_TOKENS", default=False)
extra = {}
if OIDC_SECRET := env("OIDC_SECRET", default=None):
Expand Down

0 comments on commit ec48863

Please sign in to comment.