Closed kresogalic8 closed 1 year ago
What's the error?
Signups not allowed for otp
This is actually intended behaviour. Since you've set shouldCreateUser to false, if the user doesn't exist yet and you're trying to call signInWithOtp, signInWithOtp will not create the user for you.
This means that the user will need to signup first and verify their phone number before calling signInWithOtp.
Isn't this a bit confusing if you take in consideration the Passwordless email logins
HOW-TOS ?
It clearly states: Improve the user experience by not requiring users to create and remember a password
, but if I still have to go through a normal password sign-up first, then what's the point ?
https://supabase.com/docs/guides/auth/auth-email-passwordless?queryGroups=language&language=js
Hey, I have a problem with a phone provider, I am using twillio as a phone provider and i do not want to create a user on
signInWithOtp
, and every time I trigger this method i got the same error.This is the code I am running, phone is coming from the params of the method:
Do i need to enable signups for otp?
I am using supabase "@supabase/supabase-js": "^2.10.0"