Skip to content

fix(oauth): ignore unsupported signing alg in JWKS - #2696

Merged
fadymak merged 1 commit into
masterfrom
fm/auth-1402
Aug 11, 2026
Merged

fix(oauth): ignore unsupported signing alg in JWKS#2696
fadymak merged 1 commit into
masterfrom
fm/auth-1402

Conversation

@fadymak

@fadymak fadymak commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Currently, when the /jwks endpoint advertises an unsupported signing algorithm, go-oidc errors out with an error similar to the following:

failed to verify ID token: failed to verify signature: fetching keys oidc: failed to decode keys: got Content-Type = application/json, but could not unmarshal as JSON: go-jose/go-jose: unsupported elliptic curve 'secp256k1'

go-oidc introduced a fix in v3.20.0 that addresses this: https://github.com/coreos/go-oidc/releases/tag/v3.20.0

This PR bumps the version of go-oidc which also results in a major bump for go-jose from v3 -> v4.

Resolves: #2534

@fadymak
fadymak merged commit 713a0d9 into master Aug 11, 2026
13 checks passed
@fadymak
fadymak deleted the fm/auth-1402 branch August 11, 2026 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support for Telegram OIDC: Unsupported elliptic curve secp256k1 in JWKS

2 participants