<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AIG95SCQTOkta Classic EngineAdministrationAnswered2024-11-29T17:05:34.000Z2024-11-26T19:08:08.000Z2024-11-29T17:05:34.000Z

GregK.54397 (Customer) asked a question.

Customizing restrictions on the login attribute on a User Profile

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.


This question is closed.
Loading
Customizing restrictions on the login attribute on a User Profile