For example, I defined my scope as "/ibm". If the client provides a scope of "/ibmtwo" the scope is still matched.
Answer by Chris Sloan (2789) | Apr 08, 2015 at 07:35 AM
The scope is a PCRE (Perl Compatible Regular Expressions). From the WebGUI help: "Specifies the PCRE to check the scope. The minimum length of the expression is 1 character. The maximum length of the expression is 1023 characters.".
The scope will not be a strict compare between two strings but rather the supplied scope from the client will checked for a match based on the PCRE supplied. Therefore, there can be characters before and after the string "/ibm" as long as the string contains "/ibm".
In order to match an exact string, you could make use of the characters ^ and $ which denote start and end of a string. For example a scope ^/ibm$ will only match on "/ibm", not "/ibmtwo".
Why OAuth AAA failure does not reject the request and continues processing? 1 Answer
OAuth Issue - OAuth client credential is not allowed in url 6 Answers
How Oauth token is synced within two DataPower Appliance when managed by API Connect ? 2 Answers
Unable to perform LDAP authorization using AAA Datapower 0 Answers