Creating an attribute from user data - PingAuthorize - 9.1

PingAuthorize

bundle
pingauthorize-91
ft:publication_title
PingAuthorize
Product_Version_ce
PingAuthorize 9.1
category
ContentType
Product
Productdocumentation
paz-91
pingauthorize
ContentType_ce
Product documentation

Create an attribute to represent the city the user lives in.

  1. In the PingAuthorize Policy Editor, go to Trust Framework and click Attributes.
  2. From the + menu, select Add new Attribute.
  3. For the name, replace Untitled with city.
  4. For Parent, select TokenOwner.
  5. Click the + next to Resolvers and click + Add Resolver.
  6. For Resolver type, select Attribute and specify a value of TokenOwner.
  7. Click the + next to Value Processors and click + Add Processor.
  8. For Processor, select JSON Path and specify a value of $.l[0]. (The LDAP attribute l is short for locality.)
  9. For the processor's Value type, select String.
  10. For Value Settings, set the Type to String.
  11. Click Save changes.
    You have an attribute for the user's city, as shown in the following image.
    Screen capture of attribute definition