Question

33
Views
Close popover
Vijayakumar Reddy (VjayaKumar_Coforge)
Incessant Technologies PVT Ltd

Incessant Technologies PVT Ltd
GB
VjayaKumar_Coforge Member since 2018 5 posts
Incessant Technologies PVT Ltd
Posted: 3 weeks 5 days ago
Last activity: 3 weeks 4 days ago

How to pass the params to Authentication Service Activity

We have a requirement to validate the JWT token generated by IDP in Pega, to implement this we have configured below rules.

  1. Created the token profile.
  2. Created the Custom Activity which is calling pxProcessJWT for JWT validation. Token profile and the JWT token is being passed as parameters to pxProcessJWT.
  3. Created the Custom Auth Service and referenced the custom activity in the service.
  4. Referenced the Authentication Service in service package.

 

The above mentioned process is working without any issues. But I'm not able to pass the token profile dynamically to the custom activity which is referenced in Authentication Service, which is currently hardcoded in Custom activity. The process of the JWT validation is common for which we have created the generic cust activity but we are not able to pass the token profile dynamically to this as the activity referenced in Authentication service doesn't take the parameters. Is there a way to pass the params to the Auth service activity ? 

Pega Platform 8.5.1 Security Insurance Lead System Architect