Open
Description
This improvement should fix the following issue:
Context:
In case my upstream performs operations on a custom HTTP header "x-kong-jwt-claim-dummy" (in theory, extracted from the bearer)
Scenario
- In the input request, I add a custom header "x-kong-jwt-claim-dummy" (matching the jwt2header pattern)
- In the input request, the bearer token used does not have the claim "dummy"
Result
The upstream will receive the "x-kong-jwt-claim-dummy" header and trigger the operations
Expected Result
The upstream should not receive the header
Solution
To improve the security, you should cleanup the HTTP headers of the input request matching the pattern "x-kong-jwt-claim"
Metadata
Metadata
Assignees
Labels
No labels