Pre-populate phone number for SMS verification

I’ve successfully set up SMS-based two-factor authentication (2FA) using Okta Classic Engine. When a user logs in with their username and password, they’re prompted for SMS verification. However, I’m looking to enhance the user experience by pre-populating the phone number for them. Upon calling, the response includes a user.profile object, but it lacks the phone number, and factors.setup status is NOT_SETUP. I’m using the Okta Sign-In Widget within my application. How can I pre-populate the phone number for SMS verification to streamline the process for users?

Thank you for reaching out here on the Okta Developer Forum.

We noticed that your question is more closely related to MFA and Factors. To ensure you receive the most accurate and timely assistance, we recommend reposting your query on Okta’s Community at: Okta Help Center (Lightning)

Okta’s teams on the Community are better equipped to provide the comprehensive support and guidance you need as they have the specialised knowledge and expertise in Factors API.

We appreciate your understanding and are committed to ensuring you receive the best possible support. If you have any other questions or issues related to Okta’s developer tools and API’s, feel free to post them here, and we’ll be happy to assist!