Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Configuring activities to generate a JSON Web Token

Updated on July 1, 2021

To generate a JSON Web Token in Pega Platform, you need to call the pxGenerateJWT activity. The activity can then generate the token.

  1. Create a custom activity that you will use to generate the JSON web token.
  2. In your activity, add a step to call the activity pxGenerateJWT, and pass these parameters.
    • profileName - Enter the token profile name that you created.
    • jwtPageName - Enter the JWT clipboard page name.
    • inputPagaName - Enter the page name that contains input data used in a custom claim.
    • payloadPageName - Enter the page name from which you want to map properties.
    • payloadCustomKeyName - Enter the node name where the data is generated. The default name is pyData.
    • excludedPropertiesJWTList - Enter a comma-separated list of properties to exclude from the node.
    • outputPegaName - Enter the generated JWT.
  3. Click Save.
  4. Run your custom activity to generate the token.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us