Skip to content

Controlplane panics on startup with development=true due to Dex OIDC issuer URL mismatch #2837

Description

@migmartri

Description

When installing Chainloop with --set development=true, the controlplane panics during startup while creating the OIDC authenticator due to an issuer URL mismatch between what the controlplane is configured with and what the Dex provider reports.

Repro

helm install chainloop oci://ghcr.io/chainloop-dev/charts/chainloop --set development=true

Check controlplane logs:

panic: failed to create OIDC authenticator: oidc: issuer URL provided to client ("http://chainloop-dex:5556/dex") did not match the issuer URL returned by provider ("http://chainloop-dex-dex:5556/dex")

Expected Behavior

The controlplane should start successfully in development mode, with both the controlplane's OIDC domain and Dex's issuer resolving to the same URL.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions