Parse OIDC_CLIENT_SECRET through ENV Vars
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user