Okta Expression Language for Group Rule (Fetching Groups Ending with *name)
Last Updated:
Overview
How to apply Okta Expression Language to create a group rule that would pick up groups that end with a specific name (*.name).
Applies To
- Group Rules
- Regex
- Okta Expression Language
Solution
Within Group Rules, Regex can be used to achieve the desired outcome. This will pick up all the groups that end with the word "name".
isMemberOfGroupNameRegex(".*name$*")
NOTE: isMemberOfGroupNameRegex group functions are designed to retrieve only an Okta user's group memberships. Do not use them to retrieve an app user's group memberships. Using App groups is not supported for this Regex. For more details, review the documentation below.
Related References
