Add email+verification to sms user

Ready to post? :mag: 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.

Thank you!

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”

Hi @kgn

Welcome to the Auth0 Community!

Sorry for the late response to your question. Please check this thread → https://community.auth0.com/t/email-verification-with-passwordless-sms/4349.

Thanks
Dawid

Hi Dawid, that link doesn’t seem to work, when I click it I see " Oops! That page doesn’t exist or is private."

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.