<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
0D5KZ00000axvB80AIOkta Classic EngineAuthenticationAnswered2026-01-18T09:00:48.000Z2025-03-25T13:17:32.000Z2025-03-31T15:22:01.000Z

yc954 (yc954) asked a question.

User name format

I’m working on a project where we want users to log in using their mobile numbers instead of email addresses.

If I pass mobile number as user when creation a user, I am getting 400 error. Is there any way to change user name format at okta side for my project.

{

    "errorCode": "E0000001",

    "errorSummary": "Api validation failed: login",

    "errorLink": "E0000001",

    "errorId": "oaetA3UbJQhQLmu2MyOxi_SjQ",

    "errorCauses": [

        {

            "errorSummary": "login: Username must be in the form of an email address"

        }

    ]

}

Appreciate any guidance or references to documentation on this

Thanks in advance.

 

 


This question is closed.
Loading
User name format
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply