envoyproxy / envoyproxy/gateway
Jwks doesn't have key to match kid or alg from Jwt
- Dominant language
- Go
- Stars
- 3k
- Forks
- 864
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 140
Description
*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
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.