It looks like whenever you end up placing OIDC_LOGOUT_URL, , it sticks for awhile, but then once it goes into the set_up_custom_auth function, it gets overwritten
Seems it'll happen whether CUSTOM_AUTH_ENABLE is true or not
it gets made here:
|
sudo -u www-data /var/www/MISP/app/Console/cake Admin setSetting -q "Plugin.CustomAuth_custom_logout" "${OIDC_LOGOUT_URL_COMPLETE}" |
But then it steps into the function and gets erased out.
|
if [[ -n "$CUSTOM_AUTH_CUSTOM_LOGOUT" ]]; then |
|
sudo -u www-data /var/www/MISP/app/Console/cake Admin setSetting -q -n "Plugin.CustomAuth_custom_logout" |
passing env variables below can get past it.
CUSTOM_AUTH_ENABLE: "true"
CUSTOM_AUTH_CUSTOM_LOGOUT: "{{ keycloak_auth_url }}/realms/{{ keycloak_realm }}/protocol/openid-connect/logout"
OIDC_LOGOUT_URL: "{{ keycloak_auth_url }}/realms/{{ keycloak_realm }}/protocol/openid-connect/logout" # <-- this gets overriten , but the custom_auth_custom_logout will remain
It looks like whenever you end up placing OIDC_LOGOUT_URL, , it sticks for awhile, but then once it goes into the set_up_custom_auth function, it gets overwritten
Seems it'll happen whether
CUSTOM_AUTH_ENABLEis true or notit gets made here:
misp-docker/core/files/configure_misp.sh
Line 128 in cc45da7
But then it steps into the function and gets erased out.
misp-docker/core/files/configure_misp.sh
Line 371 in cc45da7
misp-docker/core/files/configure_misp.sh
Line 394 in cc45da7
passing env variables below can get past it.