Configure OIDC scopes from env variable (#170)

pull/171/head
Jordan Barnartt 2024-10-18 09:38:52 -04:00 committed by GitHub
parent f3e40e6862
commit f23186129b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View File

@ -97,7 +97,8 @@ set_up_oidc() {
\"client_secret\": \"${OIDC_CLIENT_SECRET}\",
\"roles_property\": \"${OIDC_ROLES_PROPERTY}\",
\"role_mapper\": ${OIDC_ROLES_MAPPING},
\"default_org\": \"${OIDC_DEFAULT_ORG}\"
\"default_org\": \"${OIDC_DEFAULT_ORG}\",
\"scopes\": ${OIDC_SCOPES}
}
}" > /dev/null

View File

@ -118,6 +118,7 @@ services:
- "OIDC_ROLES_MAPPING=${OIDC_ROLES_MAPPING}"
- "OIDC_DEFAULT_ORG=${OIDC_DEFAULT_ORG}"
- "OIDC_LOGOUT_URL=${OIDC_LOGOUT_URL}"
- "OIDC_SCOPES=${OIDC_SCOPES}"
# LDAP authentication settings
- "LDAP_ENABLE=${LDAP_ENABLE}"
- "LDAP_APACHE_ENV=${LDAP_APACHE_ENV}"