HTTP Request Header Value Provider

The HTTP Request Header Value Provider plugin extracts a value from the header of the current request. Based on client-provided information, the injected value can be used in a selection to decide which subflow should be used.

One particularly important use case is the selection of different subflows based on the type of client (mobile app vs. browser). In this case, it is possible to configure a Selection Step in the step of a flow.

Configuration (example)

  1. Go to the IAM flow that requires a subflow selection based on HTTP header values.
  2. In the list of steps, add a Selection Step and edit it as follows:
  1. In property Available Options create and edit a Selection Option plugin as follows:
  1. In property Name, create a name to identify this subflow.
  2. In property Steps, create one or more flow steps, as the subflow requires.
  3. In property Condition, create and edit a String Regex Condition plugin as follows:
  1. In property Value Provider, create and edit an HTTP Request Header Value Provider plugin as follows:
  1. Configure the properties Header Name and Allowed Header Value Pattern as required.
  1. In property Regex Pattern, configure a pattern that matches the expected value to choose this selection option.
  1. Repeat step 3 and following steps for additional selection options.