Skip to content

Commit

Permalink
Configure OIDC scopes from env variable (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
JordanBarnartt authored Oct 18, 2024
1 parent f3e40e6 commit f231861
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/files/configure_misp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit f231861

Please sign in to comment.