This article clarifies whether group rule expressions are case sensitive in Okta.
- Okta Group Rules
- Universal Directory
- Group Rule Expressions
Okta group rule expressions are case sensitive. This means that any character typed as uppercase or lowercase will be treated as a distinct character because the rule is created using group rule expressions and user attributes, which are case sensitive.
- For example, if a group rule expression is created that matches the user's email address against a specific string, it will only match if the email address provided by the user exactly matches this string, including capitalization. If the string to match is
example@email.comand the email address isExample@email.comorexample@EMAIL.com, the group rule expression will not match.
Group rule expressions are not only case sensitive but also treat blank spaces as distinct characters. Any discrepancy, whether an extra space or a letter in the wrong case, will cause a mismatch.
Therefore, it is important to ensure that the group rule expressions are correctly configured with the appropriate casing to ensure that they function as intended.
