jwt_authn: fix a bug where empty iss field is handled incorrectly (#20279)
If "issuer" in the JwtProvider config is specified, it has to match "iss" field in the JWT. But current implementation has a bug where if "iss" is empty, it is not checked. Risk Level: Low, only impact users with empty "iss" JWT. Testing: Unit-tested Docs Changes: None Release Notes: Yes Signed-off-by: Wayne Zhang <qiwzhang@google.com> Mirrored from https://github.com/envoyproxy/envoy @ 336fcf9b1105fcb2581a59811c0029f8899c63c2pull/626/head
parent
988fdd636b
commit
765f5cf773
1 changed files with 2 additions and 4 deletions
Loading…
Reference in new issue