Skip to content

Commit

Permalink
Merge unqiue auth classes in the keycloak dynaconf hook.
Browse files Browse the repository at this point in the history
No-Issue

Signed-off-by: James Tanner <[email protected]>
  • Loading branch information
jctanner committed Sep 20, 2024
1 parent 8748d37 commit a92d76b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galaxy_ng/app/dynaconf_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@ def configure_keycloak(settings: Dynaconf) -> Dict[str, Any]:
data["GALAXY_AUTHENTICATION_CLASSES"] = [
"galaxy_ng.app.auth.session.SessionAuthentication",
"galaxy_ng.app.auth.token.ExpiringTokenAuthentication",
"galaxy_ng.app.auth.keycloak.KeycloakBasicAuth"
"galaxy_ng.app.auth.keycloak.KeycloakBasicAuth",
"dynaconf_merge_unique",
]

# Set default to one day expiration
Expand Down

0 comments on commit a92d76b

Please sign in to comment.