Container crashing after OIDC configuration enabled
I tried enabling OIDC with the following environment variables, per the documentation:
OIDC_ENABLED=true OIDC_ISSUER=https://auth.mydomain.net/authorize OIDC_CLIENT_ID=<client_id_obtained_from_my_oidc_provider> OIDC_CLIENT_SECRET=<client_secret_obtained_from_my_oidc_provider> OIDC_SCOPE=openid email profile OIDC_EMAIL_CLAIM=email
When I rebuild the container I get the following error message:
<anonymous_script>:1
^
SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
at JSON.parse (
Node.js v22.21.1
Any idea what can be happening?
It fails to connect to the OIDC issuer (Failed connecting to OIDC issuer.) Your issuer is responding with an HTML document, I think for OIDC to work your issuer must respond in JSON format.