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.
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"