Skip to Content
0
Jan 21, 2021 at 11:23 AM

How to Extract JWT Response variable and Assign to Payload

48 Views

Hi Team

I'm having a requirement where I need to extract two variables of JWT Claim after verifying the JWT token and those extracted variables should be assigned to fields in Actual Post Payload.

Points to Note:

  1. Post Operation
  2. Verify JWT and Extract Values
  3. Assign them to Payload/Body Fields

for reference check below:

  1. extract below values after verifying JWT Token

jwt.ProxyCondFlowReq_VerifyJWT_tokenverification.claim.userId: 12345678

jwt.ProxyCondFlowReq_VerifyJWT_tokenverification.claim.email: abcd@gmail.com

2. Assign the above-extracted values to the Payload/Body fields

client_userid

client_email