From a92d76b475c9268492b98d3163bb906d0da74d19 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Fri, 20 Sep 2024 09:00:05 -0400 Subject: [PATCH] Merge unqiue auth classes in the keycloak dynaconf hook. No-Issue Signed-off-by: James Tanner --- galaxy_ng/app/dynaconf_hooks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/galaxy_ng/app/dynaconf_hooks.py b/galaxy_ng/app/dynaconf_hooks.py index 4c3620ddaa..496891a425 100755 --- a/galaxy_ng/app/dynaconf_hooks.py +++ b/galaxy_ng/app/dynaconf_hooks.py @@ -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