From 7743c69dec970710b0e5972c97237a024e2965c4 Mon Sep 17 00:00:00 2001 From: James Tanner Date: Wed, 2 Oct 2024 14:27:54 -0400 Subject: [PATCH] This is a hack, this is only a hack. No-Issue Signed-off-by: James Tanner --- galaxy_ng/app/dynaconf_hooks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/galaxy_ng/app/dynaconf_hooks.py b/galaxy_ng/app/dynaconf_hooks.py index 5e4ee561b9..3f89ccc973 100755 --- a/galaxy_ng/app/dynaconf_hooks.py +++ b/galaxy_ng/app/dynaconf_hooks.py @@ -92,7 +92,7 @@ def configure_keycloak(settings: Dynaconf) -> Dict[str, Any]: ) data["KEYCLOAK_HOST_LOOPBACK"] = settings.get("KEYCLOAK_HOST_LOOPBACK", default=None) data["KEYCLOAK_URL"] = f"{KEYCLOAK_PROTOCOL}://{KEYCLOAK_HOST}:{KEYCLOAK_PORT}" - auth_url_str = "{keycloak}/auth/realms/{realm}/protocol/openid-connect/auth/" + auth_url_str = "{keycloak}/realms/{realm}/protocol/openid-connect/auth/" data["SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL"] = auth_url_str.format( keycloak=data["KEYCLOAK_URL"], realm=KEYCLOAK_REALM ) @@ -106,7 +106,7 @@ def configure_keycloak(settings: Dynaconf) -> Dict[str, Any]: data[ "SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL" - ] = f"{data['KEYCLOAK_URL']}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect/token/" + ] = f"{data['KEYCLOAK_URL']}/realms/{KEYCLOAK_REALM}/protocol/openid-connect/token/" data["SOCIAL_AUTH_LOGIN_REDIRECT_URL"] = settings.get( "SOCIAL_AUTH_LOGIN_REDIRECT_URL", default="/ui/"