allow open id to come in via env

This commit is contained in:
burnettk 2023-03-02 10:43:02 -05:00
parent 00bdde16f6
commit 5cbffe2e96
1 changed files with 7 additions and 3 deletions

View File

@ -19,10 +19,14 @@ SPIFFWORKFLOW_BACKEND_RUN_BACKGROUND_SCHEDULER = (
== "true"
)
SPIFFWORKFLOW_BACKEND_OPEN_ID_SERVER_URL = (
SPIFFWORKFLOW_BACKEND_OPEN_ID_SERVER_URL = environ.get(
"SPIFFWORKFLOW_BACKEND_OPEN_ID_SERVER_URL",
default=(
f"https://keycloak.{environment_identifier_for_this_config_file_only}"
".spiffworkflow.org/realms/spiffworkflow"
),
)
SPIFFWORKFLOW_BACKEND_URL_FOR_FRONTEND = (
f"https://{environment_identifier_for_this_config_file_only}.spiffworkflow.org"
)