Customizing access tokens - PingOne Cloud Platform - PingOne

PingOne Cloud Platform

bundle
pingone
ft:publication_title
PingOne Cloud Platform
Product_Version_ce
PingOne Cloud Platform
PingOne
category
Administratorguide
ContentType
Guide
Product
Productdocumentation
p1
p1cloudplatform
ContentType_ce
Guide > Administrator Guide
Guide
Product documentation

With PingOne you can customize the content of access tokens by adding custom resource attributes and their values to the token. You can use customized access tokens to convey additional information about their use to applications.

Note:

You cannot customize tokens for the two default resources: openid and the PingOne API.

  1. Go to Applications > Resources.
  2. Locate the resource you want to edit by browsing or searching for resources.
  3. Click a resource entry to open the details panel for the resource.
  4. Click the Attributes tab, and then click the pencil icon.
  5. Click + Add.
  6. Enter the following:
    • Attributes: Enter the attribute value for the resource, such as sub.
    • PingOne mappings: Select an attribute in the list, such as User ID.
    Note:

    To configure the access token TTL (time to live), see Editing a resource.

  7. Continue adding attributes as needed.
  8. Click Save.