We turned off user signup process in Auth0 and register our users using management API. This is really a business requirement as app is restricited from self-serve signup.
And mobile number is not a unique value within our app, a user can hold multiple accounts so this is limiting us from using default phone_number user attribute for various functions.
We are getting a change-password ticket for the user and redirecting the user to the Auth0 magic link so user sets their first password after they go through our app signup flow. As we can’t use phone_number attribute on user profile is there a way to directly register the user for SMS MFA with the phone number that we have for the user. This is a verified phone number so we don’t want to ask user to go through the SMS verification again.
Also when user updates their mobile number in our app, we want to update the mobile number directly on the register SMS MFA option in Auth0 using a Management API call