You can define a condition group as part of the authorization policy that uses the OAuth scopes from Identity Server to protect a resource.
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:.
Mode: Select the mode appropriate for the comparison type. For more information, see Mode:.
Value: Select OAuth Scopes.
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.
Configure the actions required to be performed during evaluation of the condition group. For more information, see Step 7.
Click OK.