envoyproxy / envoyproxy/gateway

Jwks doesn't have key to match kid or alg from Jwt

Aperta
#4,180 8 commenti 1 reazione 0 assegnatari Vedi su GitHub
area/envoy stale
Lingua principale
Go
Stelle
3k
Fork
864
Merge medio
2g 2h
PR unite (30g)
140

Descrizione

*Description*:
>When OIDC provider rotates the keys, Envoy fails to refetch the keys and returns the following error:
```
Jwks doesn't have key to match kid or alg from Jwt
```

*Repro steps*:
> Create a security policy with JWKS using a provider that rotates keys (for example, Zitadel). Wait for the key to expire and try the route associated with the security policy.

*Environment*:
>Envoy Gateway 1.1.0
> Envoy 1.31.0

*Notes*
> The OpenID Connect spec specifies that the verifier should try to refetch the keys if it encounters an unknown key, see: https://openid.net/specs/openid-connect-core-1_0.html#RotateSigKeys

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.