PingOne

Adding repetition settings to an authorization attribute

Add repetition settings to existing attributes to resolve attribute values from collections.

Before you begin

Add an attribute that serves as the repetition source.

The value setting Type for the repetition source attribute must be Collection.

As an example, consider the following attribute that retrieves a collection of payment transactions from a service response. This attribute will serve as the repetition source for a repeating attribute that gets a transaction amount.

Screen capture showing a Collection attribute that resolves a collection of transactions from a service response.

About this task

A repeating attribute requires a repetition source that points to a collection. To get values from each repetition of the collection, the repeating attribute must have a resolver set to Current Repetition Value.

You can also use repeating attributes in named conditions and named processors. If an attribute uses a named condition or value processor, any repeating attributes referenced in the condition or value processor must have the same repetition source as the attribute itself.

Steps

  1. Go to Authorization → Trust Framework and click the Attributes tab.

  2. Select the attribute to which you want to add repetition settings.

  3. Click the hamburger menu in the Name field and select Add repetition settings.

  4. In the Repeat for each item of list in the Repetition Settings section, select a repetition source attribute.

    Screen capture showing the Repeat for each item of field in the Repetition Settings section of an attribute.
  5. Expand Resolvers and click Add Resolver.

  6. In the Resolver type list, select Current Repetition Value.

    This resolves the attribute against individual items in the collection.

    Screen capture showing the Resolver type set to Current Repetition Value and a Value Processor with a JSON Path processor expression that gets the transaction amount.
  7. Click Save changes.