Closed suksw closed 2 years ago
Closing since we only support custom claim mapping for downstream requests (mapping done before validating the key at enforcer), and we support adding them via config.toml which successfully does the claim mapping. https://apim.docs.wso2.com/en/latest/deploy-and-publish/deploy-on-gateway/choreo-connect/support-custom-claims-mapping/
Description:
$subject
Steps to reproduce:
Add the claim mapping via admin protal -> Key Managers -> Resident Key Managers
Create a valid signed (using keys similar to apim resident key manager) jwt with the claim "foo"
Invoke the API from Devportal
Read and decode the jwt received at the backend and check if the claim key
foo
has been renamed tobar
Claim mapping arrives at the adapter but the jwt claim received at the backend still has the remote claim.
Affected Product Version:
Environment details (with versions):
Optional Fields
Related Issues:
Suggested Labels:
Suggested Assignees: