I am using Okta restful API “{{url}}/api/v1/users?activate=true” to create a user account. I need to fill in some required parameters like login, firstName, lastName, email etc. The “login” is used as Primary Authentication username. But it requires email format. If not, I will get this error response: “login: User name must be in the form of an email address (e.g. bob@nowhere.com)”, How can I change the login validation rule to be a general username not an email address. There is an email attribute on the registration, so no point to keep another email format attribute.
Govner
2
Under Directory>Profile Editor modify the Okta profile as highlighted:

Related topics
| Post | Replies | Views | Activity | |
|---|---|---|---|---|
| OKTA API : Change the primary email and change the login | 5 | 1786 | March 18, 2024 | |
| Okta SignIn widget - Use email field instead of Username for Login | 9 | 5481 | May 3, 2022 | |
| /api/v1/authn - Change Primary authentication model to validate the posted username against Okta users profile email field instead of login field | 0 | 2940 | January 11, 2022 | |
| Issue with new user creation - Email being used for login | 1 | 3539 | November 10, 2020 | |
| Add pattern rule validation to validate username field in login screen | 1 | 1545 | November 27, 2023 |