Supabase Register with Email OTP Verification

Good day, I have an Expo React Native mobile app that uses Supabase for the Auth and Database. I wish to make my register to have two steps, first fills the registration form and then redirect to the verify OTP page where I can fill the OTP numbers.

However, I can't find any guideline for Supabase to register with Email OTP verification, all it uses was login with email OTP only or magic link the passwordless auth. All I found is that the Supabase email OTP only works to sign in not for sign up. I'm aware that supabase has email confirmation link but I was hoping I can use the verify OTP instead.

Here's the progress I have encounter so far:
  • I have asked A.I how to implement Register with email OTP verification, some A.I did mentions I required to turn on the enabled phone provider for the OTP registration. Is this true tho? Why would I need phone provider for the auth, while I'm using the email provider.
  • Whenever I try to test the register, just before verifying the OTP the user registration already created at Supabase Auth. Even when I'm already using the await, it just won't work or I still need to modify my code. But this problem make me thinks it just not possible to register with OTP.
I was hoping the professional here has my answer, thank you everyone for having the time to read my question!
Was this page helpful?