OAuth Scopes

You can define a condition group as part of the authorization policy that uses the OAuth scopes from Identity Server to protect a resource.

  1. Comparison: You can select to do the comparison as an integer value or as a regular expression. For more information about regular expression, see Comparison: Regular Expression: Matches:.

  2. Mode: Select the mode appropriate for the comparison type. For more information, see Mode:.

  3. Value: Select OAuth Scopes.

  4. Result on Condition Error: Specify what the condition returns when the comparison of the two values returns an error rather than the results of the comparison. Select either False or True. If you do not want the action applied when an error occurs, select False. If you want the action applied when an error occurs, select True.

  5. Configure the actions required to be performed during evaluation of the condition group. For more information, see Step 7.

  6. Click OK.