mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
# Which Problems Are Solved Incorrectly mapped errors on the `/oauth/v2/token` endpoint lead to a large number of HTTP status 500 errors. # How the Problems Are Solved By mapping invalid jwt assertion errors to OIDC `invalid_client` errors, which returns a HTTP status 400. # Additional Changes N/A # Additional Context - Closes https://github.com/zitadel/zitadel/issues/11924 - Follow-up: - Fix the [error handling](https://github.com/zitadel/oidc/blob/main/pkg/oidc/verifier.go#L195) in the oidc package --------- Co-authored-by: Copilot <[email protected]>