Having problems working with phoneNumber signUp
I've enabled phone number signUp in my application, and I want to use phoneNumber as the only signIn and signUp method. I provided getTempEmail function as well, so that the user does not need to provide an email on his own.
But there are some problems.
Tanstack Start
Better Auth
Prisma ORM
Mongodb Database
But there are some problems.
- I didn't find any api route or method to directly sign up using only phone number.
- When using api.auth.signUpEmail(), the email field is mandatory. Then how the getTempEmail function will be used?
Tanstack Start
Better Auth
Prisma ORM
Mongodb Database