To generate and process a JSON Web Token in
    Pega Platform, you need
    to call the
    pxGenerateJWT
    activity and the
    pxProcessJWT
    activity. The activities can then generate and process the token.
  
    - 
        
          In the
          Designer Studio
          search field, enter
          pxGenerateJWT, and press Enter.
        
      
- 
        Double-click the activity to configure it.
      
- 
        
          On the
          Parameters
          tab, click
          Private edit
          to configure the following 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.
 
 
- 
        
          Click
          Save.
        
      
- 
        
          In the
          Designer Studio
          search field, enter
          pxProcessJWT, and press enter.
        
      
- 
        Repeat step 2 through 4 to configure the activity.