From 99e968a58793a3aea5c2a58369c635984f489222 Mon Sep 17 00:00:00 2001 From: 3wc <3wc@doesthisthing.work> Date: Thu, 6 Apr 2023 11:27:30 -0400 Subject: [PATCH] Configurable KEYCLOAK_BASE_URL --- keycloak_collective_portal/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/keycloak_collective_portal/config.py b/keycloak_collective_portal/config.py index 8d2113b..8d2a13b 100644 --- a/keycloak_collective_portal/config.py +++ b/keycloak_collective_portal/config.py @@ -13,7 +13,7 @@ KEYCLOAK_CLIENT_SECRET = environ.get("KEYCLOAK_CLIENT_SECRET") KEYCLOAK_DOMAIN = environ.get("KEYCLOAK_DOMAIN") KEYCLOAK_REALM = environ.get("KEYCLOAK_REALM") KEYCLOAK_SCOPES = environ.get("KEYCLOAK_SCOPES", "openid profile email") -KEYCLOAK_BASE_URL = f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect" # noqa +KEYCLOAK_BASE_URL = environ.get("KEYCLOAK_BASE_URL", f"https://{KEYCLOAK_DOMAIN}/auth/realms/{KEYCLOAK_REALM}/protocol/openid-connect") # noqa # Redis connection details, our main storage REDIS_DB = environ.get("REDIS_DB")