Skip to content

Commit

Permalink
Change
Browse files Browse the repository at this point in the history
  • Loading branch information
BeatrixCohere committed Aug 15, 2024
1 parent a0230d5 commit c48ef8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/backend/config/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

SKIP_AUTH = os.getenv("SKIP_AUTH", None)
# Ex: [BasicAuthentication]
ENABLED_AUTH_STRATEGIES = []
ENABLED_AUTH_STRATEGIES = [OpenIDConnect]
if ENABLED_AUTH_STRATEGIES == [] and Settings().auth.enabled_auth is not None:
ENABLED_AUTH_STRATEGIES = [auth_map[auth] for auth in Settings().auth.enabled_auth]
if "pytest" in sys.modules or SKIP_AUTH == "true":
Expand Down

0 comments on commit c48ef8f

Please sign in to comment.