mirror of https://github.com/MISP/misp-docker
Configure OIDC scopes from env variable (#170)
parent
f3e40e6862
commit
f23186129b
|
@ -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
|
||||
|
||||
|
|
|
@ -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}"
|
||||
|
|
Loading…
Reference in New Issue