diff --git a/core/files/configure_misp.sh b/core/files/configure_misp.sh index 30902e8..9f68bc6 100755 --- a/core/files/configure_misp.sh +++ b/core/files/configure_misp.sh @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index ca3092f..d14deeb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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}"