Unclear how to call phoneNumber signup from frontend
I'm using phone-number for sign-up, my authClient looks like ..
my auth backend is properly configured, but in my register page I'm unsure what to call, should it be -
There is no
my auth backend is properly configured, but in my register page I'm unsure what to call, should it be -
There is no
authClient.signUp.phoneNumber() functionSolution
You have to send the otp for the verification and make sure to pass signUpOnVerification to set up a temporary email since right better auth requires an email fields and also the same for name. And you can sign in back with signin.phoneNumber .