Close popover

Table of Contents

Configuring an activity to process a JSON Web Token

Version:

To process a JSON Web Token, you need to call the pxProcessJWT activity. The activity can then process the token.

  1. Create a custom activity that you will use to process the JSON web token.

  2. In your activity, add a step to call the activity pxProcessJWT, 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 process the token.

  • Token profile data instance

    Create a JSON Web Token (JWT) profile data instance to confirm a user's identity between two different processes. JSON Web Token (JWT) is an open standard that defines a compact and self-contained method to securely exchange information between different parties as a JSON object. For example, the token can contain information about a user that can be used by another party to validate the identity of the user.

  • Creating a processing JSON Web Token profile

    Create a processing JSON Web Token (JWT) profile to specify how Pega Platform validates and decrypts each JSON Web Token it receives.

  • Calling another activity
Suggest Edit

Have a question? Get answers now.

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