
JohnT.59157 (Customer) asked a question.
I need to create a Group claim to filter 4 groups.
Group names are: Apple, Orange, Grape, Tomato
In the "Groups claim filter" section in the Sign On tab of the Application configuration
1) Should I use "groups Contains" or should I use "groups Matches regex" option?
2) What is the syntax of the text to be entered for creating the filter ?
3) Is there a character limit for the filter?

Here is the Answer,
Thanks to Daniel (okta support) and Don (customer)
I took advice both and tested and found the following.
Use groups matches regex and any of the following formats"
^(Apple|Orange|Grape)$
(Apple|Orange|Grape)
Apple|Orange|Grape
Screenshot 👇
start of line, end of line and groupings can be used, but are not needed.
Only | matters. | = OR operand
Resulting idToken