Ready to post? First, try searching for your answer.
Hi! I am working on an app that uses SMS passwordless authentication, but I also want to collect email and verify the email incase we need this in the future.
I was hoping I could just set the email on the user, but with the sms connection I don’t see email as a field and I can’t figure out how to set this via the API and then trigger Auth0 to send and handle the verification email.
I’ve tried a number of solutions and am still not able to figure this out. Hope someone has a suggestion, or example of how to do this.
When I try to add ‘email’ to the user object with PATCH /api/v2/users I get the error ‘Cannot update email for this user’
I was able to add email and email_verified to the user’s meta data, but then /api/v2/tickets/email-verification endpoint has the error “Failed to send verification email: The user does not have an email”