Skip to content

Container crashing after OIDC configuration enabled #952

@NakedRoboticCore

Description

@NakedRoboticCore

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
<!doctype html>
^

SyntaxError: Unexpected token '<', "<!doctype "... is not valid JSON
at JSON.parse ()
at IncomingMessage.get (/kutt/node_modules/openid-client/lib/helpers/request.js:156:30)
at processResponse (/kutt/node_modules/openid-client/lib/helpers/process_response.js:55:25)
at Issuer.discover (/kutt/node_modules/openid-client/lib/issuer.js:152:18)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async enableOIDC (/kutt/server/passport.js:86:20) {
info: 'Failed connecting to OIDC issuer.'
}

Node.js v22.21.1

Any idea what can be happening?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions