
GregK.54397 (Customer) asked a question.
Using Okta, we are trying to duplicate the following username policy implemented in our legacy web application:
Usernames must adhere to ONE of these rules
1) Contains only a particular set of characters (alphanums and underscores)
2) Is a well-formed email address.
With these options special email characters like '@' are only allowed when the username is a valid email address. A value such as 'Joe@TheDiner' would not be acceptable. But 'Joe@TheDiner.com' and 'JoeAtTheDiner' would be.
In Okta, it seems I have three mutually exclusive options.
WELL-FORMED EMAIL ADDRESS
This would allow Joe@TheDiner.com but NOT JoeAtTheDiner
RESTRICT TO SPECIFIC CHARACTERS
With proper configuration this could allow both Joe@TheDiner.com and JoeAtTheDiner, but would ALSO allow Joe@TheDiner, which is undesirable.
NO RESTRICTIONS
Same as above, but obviously would allow pretty much anything.
Wondering whether anyone knows of a way in Okta to allow for a specific character set OR a well-formed email address.

Hello @GregK.54397 (Customer) Thank you for posting on our Community page!
At this time these seem to be the only options, however you can add a Feature Request on our Idea section, for a chance that this functionality to be added in the future.
https://support.okta.com/help/s/ideas
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.
Ask Us Anything about Okta FastPass - now thru December 11th.