Testing Phone Authentication, Verification, and LogIn Locally with Appwrite & Twilio
- 0
- Self Hosted
- Auth
- Messaging

Hello all!
For the first time, I'm trying to implement creating, verifying, and login via phone using Appwrite. So far I was able to successfully implemented and tested /signup endpoint. However, I cannot figure out how to make my /verify-phone endpoint to simulate otp. I'm continuously getting : Invalid token passed in the request.
This is my signup, verify-phone, login endpoints in my server.js (node.js). I'm testing in my local.
I've correctly added these to my local appwrite's env.
_APP_SMS_PROVIDER=sms://[ACCOUNT_SID]:[AUTH_TOKEN]@twilio
_APP_SMS_FROM=[TWILIO_PHONE_NUMBER]
Can someone please help me why verification step is failing though signup is working?
Recommended threads
- 404 errors after 7 Days
Local hosted Appwrite via docker. Last version and current version. After exactly 7 days Appwrite stops working. I get 404 route not found, cannot access anyth...
- unable to modify attribute
please help: when I try to modify attribute size or key or anything, I am getting this errors: ``` Deprecated: strtolower(): Passing null to parameter #1 ($str...
- Error 1.7.4 console team no found
In console when i go to auth, select user, select a membership the url not work. Only work searching the team. It is by the region. project-default- and i get ...
