You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Keycloak with MISP and have multiple issues regarding the OIDC configuration.
My MISP instance is configured like following environment variables:
This fails with a 404 error. Explicitly re-writing the post_logout_redirect_uri value as encoded URL does not help either.
With my current understanding of the OIDC spec, it should generate a ? instead of &, no?
This currently still fails for Keycloak as it hard-requires the id_token_hint to be passed as well even though it is only "recommended" as per OIDC spec.
2nd issue
Passing OIDC_SCOPES='["profile", "email"]' as env variable leads to parsing errors in the startup log:
MISP | Set Up OIDC ...
Provided new config is not array, `NULL` given.
parse error: Invalid numeric literal at line 1, column 2
... OIDC authentication enabled
I have tried the code from [configure_misp.sh#L104-L113)[https://github.com/MISP/misp-docker/blob/master/core/files/configure_misp.sh#L104-L113] in my terminal and the if worked fine there:
FOO='["profile", "email"]';if [[ "$(echo "$FOO"| jq type -r)"=="array" ]];thenechotrue;elseechofalse;fi
Is there an issue as to how the env variables are passed from the compose.yaml to MISP? Or is the issue in the script?
The text was updated successfully, but these errors were encountered:
Hello
I am using Keycloak with MISP and have multiple issues regarding the OIDC configuration.
My MISP instance is configured like following environment variables:
1st issue
During the initial OIDC configuration, the line at configure_misp.sh#L117 creates an URL like following:
This fails with a 404 error. Explicitly re-writing the
post_logout_redirect_uri
value as encoded URL does not help either.With my current understanding of the OIDC spec, it should generate a
?
instead of&
, no?2nd issue
Passing
OIDC_SCOPES='["profile", "email"]'
as env variable leads to parsing errors in the startup log:I have tried the code from [configure_misp.sh#L104-L113)[https://github.com/MISP/misp-docker/blob/master/core/files/configure_misp.sh#L104-L113] in my terminal and the
if
worked fine there:Is there an issue as to how the env variables are passed from the compose.yaml to MISP? Or is the issue in the script?
The text was updated successfully, but these errors were encountered: