Question
WellsFargo
IN
Last activity: 25 Mar 2021 6:39 EDT
Get Access Token / JWT Token in Pega
Hi All,
We are trying to configure Open ID Connect with Okta . All the configurations are done properly.
How can we get Access token / JWT token into the clipboard ? (I can see the token in logs when be debug the OOTB Class).
Basically, We want to send the token to external systems.
@budisriram
Ca you please confirm If you have created below rules
1) Keystore
2) Token Profile
if you have created both of them just call the activity pxProcessJWT from the Authentication activity of the Authentication service.
parameter value for pxProcessJWT
profileName = Token Profile Name
jwtString = Param.Authorization
tokenProfilePage= footer
headerJSONLocation=Param.Header
payloadJSONLocation= Param.footer
Note: Make sure you pass only the key in Param.Authorization , remove whatever comes before the key .