Parse OIDC_CLIENT_SECRET through ENV Vars

This commit is contained in:
2025-11-12 21:24:00 +00:00
parent 4287a90522
commit d67a7f4c6e
2 changed files with 2 additions and 0 deletions
@@ -3,5 +3,6 @@ POSTGRES_PASSWORD=penpot
POSTGRES_DB=penpot
PENPOT_SECRET_KEY=
PENPOT_OIDC_CLIENT_ID=
PENPOT_OIDC_CLIENT_SECRET=
PENPOT_OIDC_BASE_URI=
PENPOT_OIDC_ROLES="admin user"
@@ -66,6 +66,7 @@ locals {
PENPOT_TELEMETRY_REFERER = ""
PENPOT_OIDC_CLIENT_ID = provider::dotenv::get_by_key("PENPOT_OIDC_CLIENT_ID", local.env_file)
PENPOT_OIDC_CLIENT_SECRET = provider::dotenv::get_by_key("PENPOT_OIDC_CLIENT_SECRET", local.env_file)
PENPOT_OIDC_BASE_URI = provider::dotenv::get_by_key("PENPOT_OIDC_BASE_URI", local.env_file)
PENPOT_OIDC_ROLES = provider::dotenv::get_by_key("PENPOT_OIDC_ROLES", local.env_file)
}