Skip to content

After updating headplane to 0.6.1, Auth0 OIDC is not working. #344

@gunu3371

Description

@gunu3371

Description

After updating the headplane, the OIDC login feature is not working.

Server Log

2025-10-21T23:34:00.563Z [auth] ERROR: Unknown error: ClientError: unexpected JWT claim value encountered
    at e (file:///app/node_modules/.pnpm/openid-client@6.7.0/node_modules/openid-client/build/index.js:116:12)
    at errorHandler (file:///app/node_modules/.pnpm/openid-client@6.7.0/node_modules/openid-client/build/index.js:141:23)
    at Module.authorizationCodeGrant (file:///app/node_modules/.pnpm/openid-client@6.7.0/node_modules/openid-client/build/index.js:953:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    at async finishAuthFlow (file:///app/build/server/assets/server-build.js:611:17)
    ... 2 lines matching cause stack trace ...
    at async commonRoute.loader (file:///app/node_modules/.pnpm/react-router@7.8.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-router/dist/development/chunk-IFMMFE4R.mjs:658:19)
    at async file:///app/node_modules/.pnpm/react-router@7.8.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-router/dist/development/chunk-UH6JLGW7.mjs:4327:19
    at async callLoaderOrAction (file:///app/node_modules/.pnpm/react-router@7.8.1_react-dom@19.1.1_react@19.1.1__react@19.1.1/node_modules/react-router/dist/development/chunk-UH6JLGW7.mjs:4379:16) {
  code: 'OAUTH_JWT_CLAIM_COMPARISON_FAILED',
  [cause]: [OperationProcessingError]
}

Client Respond

{
  "code": 500,
  "error": {
    "name": "Internal Server Error",
    "description": "An unknown error occurred"
  }
}

config.yaml

oidc:
  issuer: "https://auth.example.app"
  client_id: ""
  client_secret: ""
  disable_api_key_login: true
  token_endpoint_auth_method: "client_secret_post"
  headscale_api_key: ""
  redirect_uri: "https://ts.example.app/admin/oidc/callback"

Headplane Version

0.6.1

Headscale Version

0.26.1

Metadata

Metadata

Assignees

Labels

AuthenticationAuthentication & PermissionsBugSomething isn't working

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions