Skip to content

Commit a98ac47

Browse files
authored
add: support new skipProxy setting for OIDC (#369)
1 parent e1e2dd0 commit a98ac47

5 files changed

Lines changed: 6 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ For Okta, create a new application integration:
216216
OIDC_AUTH_METHOD="client_secret_post"
217217
OIDC_REDIRECT_URI="https://<MISP_URL>/users/login" # (same value set in Okta)
218218
OIDC_DISABLE_REQUEST_OBJECT=false
219+
OIDC_SKIP_PROXY=true
219220
```
220221
Valid options for OIDC_AUTH_METHOD are:
221222
- client_secret_post: tested

core/files/configure_misp.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ set_up_oidc() {
102102
\"mixedAuth\": ${OIDC_MIXEDAUTH},
103103
\"authentication_method\": \"${OIDC_AUTH_METHOD}\",
104104
\"redirect_uri\": \"${OIDC_REDIRECT_URI}\",
105-
\"disable_request_object\": \"${OIDC_DISABLE_REQUEST_OBJECT}\"
105+
\"disable_request_object\": \"${OIDC_DISABLE_REQUEST_OBJECT}\",
106+
\"skipProxy\": ${OIDC_SKIP_PROXY}
106107
}
107108
}" > /dev/null
108109

core/files/entrypoint.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export AUTOGEN_ADMIN_KEY=${AUTOGEN_ADMIN_KEY:-$AUTOCONF_ADMIN_KEY}
5656
export OIDC_ENABLE=${OIDC_ENABLE:-false}
5757
export OIDC_MIXEDAUTH=${OIDC_MIXEDAUTH:-false}
5858
export OIDC_DISABLE_REQUEST_OBJECT=${OIDC_DISABLE_REQUEST_OBJECT:-false}
59+
export OIDC_SKIP_PROXY=${OIDC_SKIP_PROXY:-true}
5960
export LDAP_ENABLE=${LDAP_ENABLE:-false}
6061
export ENABLE_DB_SETTINGS=${ENABLE_DB_SETTINGS:-false}
6162
export ENABLE_BACKGROUND_UPDATES=${ENABLE_BACKGROUND_UPDATES:-false}

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ services:
168168
- "OIDC_SCOPES=${OIDC_SCOPES}"
169169
- "OIDC_LOGOUT_URL=${OIDC_LOGOUT_URL}"
170170
- "OIDC_DISABLE_REQUEST_OBJECT=${OIDC_DISABLE_REQUEST_OBJECT}"
171+
- "OIDC_SKIP_PROXY=${OIDC_SKIP_PROXY}"
171172
# APACHESECUREAUTH authentication settings
172173
- "APACHESECUREAUTH_LDAP_OLD_VAR_DETECT=${LDAP_ENABLE}"
173174
- "APACHESECUREAUTH_LDAP_ENABLE=${APACHESECUREAUTH_LDAP_ENABLE:-${LDAP_ENABLE}}"

template.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ SYNCSERVERS_1_PULL_RULES=
179179
# OIDC_SCOPES="[\"profile\", \"email\"]"
180180
# OIDC_LOGOUT_URL=
181181
# OIDC_DISABLE_REQUEST_OBJECT=false
182+
# OIDC_SKIP_PROXY=true
182183

183184
# Enable LDAP (using the ApacheSecureAuth component) authentication, according to https://github.com/MISP/MISP/issues/6189
184185
# NOTE: Once you enable LDAP authentication with the ApacheSecureAuth component,

0 commit comments

Comments
 (0)