jwt_authn: Add config/functionality to strip failure response details (#34618)
JWT Authentication filter returns a 401 response with the details of failure back to client. It also sets the WWWAuthenticate header with "invalid token". Addition of this config would allow stripping these response details and return a 401 which would help with limiting unintended data leakage. Risk Level: Low Testing: Integration & Manual testing Docs Changes: Done Release Notes: Done Fixes #34474 Signed-off-by: Arul Thileeban Sagayam <arul.thilee@gmail.com> Mirrored from https://github.com/envoyproxy/envoy @ 9df04137f02e1da97528bb739df462aaab983697main
parent
caf2e54454
commit
cbbec7dbab
1 changed files with 6 additions and 1 deletions
Loading…
Reference in new issue