We are a financial services company and need to collect the user’s phone number as we sometimes need to follow up to get verbal confirmation of transactions entered on our website. If we can’t get the user’s phone number from the Auth0 user info, then we have to ask the user to enter it a second time after authentication is complete, which isn’t a great user experience.
Thanks for that feedback, I understand what you are describing. Would you mind submitting it to our product team as a feature request via our feedback page? I can also submit it on your behalf, please let me know and I will ask you for some contact information.
In the meantime, you have a few options:
You can collect the phone number as an additional field or during a redirect in a rule (this method will do as you describe, force the user to provide it at signup and during registration for MFA; if they are all using SMS MFA that is. You could also handle this when you collect other profile information like address etc.)
You could use the MFA API’s sms endpoints to build out your own MFA flow, which would allow you to collect the phone number and add it to the auth0 profile or store it in your DB. (This will require more development time as it is not an out of the box solution).
Thanks @dan.woda. I’ll submit the feature request on your feedback page. In the meantime, I’m just asking for the phone number again after authentication along with address and other info, as you suggested.