Phone Sign in
Options
![As Per Logic](https://us.v-cdn.net/6037124/user_avatars/1446415.jpg)
As Per Logic
Member ✭
How can I use phone authentication as a login option?
Comments
-
There's a few things to consider:
- You will want to add a phone field to your user table
- You should create a unique index for that field and require it since users cannot have the same number.
- Then you will carefully want to go through the auth endpoints, make sure your new phone field is being returned in the output of any database functions and then carefully swap out anywhere referencing user.email to be user.phone and/or email to phone inputs and anything similar. -
Thank you! I got through the first 2 bullets but Im a bit lost on the last one. I went to api and I only see the user endpoints for the users table. Am I looking in the right place?
-
The auth/login and auth/signup endpoints: the endpoints used for authentication
-
Does Twillo or another third party have a plug in for this yet?
Since there is the requirement to verify a user phone number via automatic text isn't theres a lot more to do than switch data fields around?
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback