envoyproxy / envoyproxy/gateway

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

Offen
#4,180 8 Kommentare 1 Reaktion 0 zugewiesene Personen Auf GitHub ansehen
area/envoy stale
Vorherrschende Sprache
Go
Sterne
3k
Forks
864
Ø Merge
2 T. 2 Std.
Gemergte PRs (30 T.)
140

Beschreibung

*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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.