Close popover
Sudipta Biswas (SudiptaB7860)
Tech Mahindra Ltd

Tech Mahindra Ltd
SudiptaB7860 Member since 2018 6 posts
Tech Mahindra Ltd
Posted: April 14, 2019
Last activity: July 23, 2019

How to generate JWT token with custom header using OOTB Token Profile Data Instance

We are using Token Profile data instance to create JSON webtoken (using the pxGenerateJWT activity). As per the pega help of Token Profile data instance ,The following required headers are added automatically:

alg – The used JWS algorithm, which is in the Security section, on the Generation tab.
cty – The content type is populated by default as application/json.
typ – The type is always JWT.
kid – The Key ID is a unique ID generated by the JWT runtime for each token generated.
crit – Headers that are marked as critical on the Generation tab.

The service which I am consuming for my application , requires us to send constant value for kid . How this can be achieved ?

Low-Code App Development
Moderation Team has archived post