mirror of https://github.com/MISP/misp-docker
Add documentation and fix default values for OIDC_ROLES_MAPPING
parent
887d1b3443
commit
639d6e746b
|
@ -102,6 +102,10 @@ set_up_oidc() {
|
|||
return
|
||||
fi
|
||||
|
||||
if [[ -z "$OIDC_ROLES_MAPPING" ]]; then
|
||||
OIDC_ROLES_MAPPING="\"\""
|
||||
fi
|
||||
|
||||
# Check required variables
|
||||
# OIDC_ISSUER may be empty
|
||||
check_env_vars OIDC_PROVIDER_URL OIDC_CLIENT_ID OIDC_CLIENT_SECRET OIDC_ROLES_PROPERTY OIDC_ROLES_MAPPING OIDC_DEFAULT_ORG
|
||||
|
|
|
@ -97,7 +97,7 @@ SYNCSERVERS_1_KEY=
|
|||
# OIDC_CLIENT_ID=
|
||||
# OIDC_CLIENT_SECRET=
|
||||
# OIDC_ROLES_PROPERTY="roles"
|
||||
# OIDC_ROLES_MAPPING={"admin": "1","sync-user": "5"}
|
||||
# OIDC_ROLES_MAPPING="{\"admin\": \"1\"}"
|
||||
# OIDC_DEFAULT_ORG=
|
||||
|
||||
# Enable LDAP (using the ApacheSecureAuth component) authentication, according to https://github.com/MISP/MISP/issues/6189
|
||||
|
|
Loading…
Reference in New Issue