Hey guys! Dealing with an issue with login by phone verification. I managed to pull it off about a week ago but for the life of me can't seem to make it work again. I can create a token with account.CreatePhoneToken, that's all being logged in console and seems fine. However, I cannot get past const session = await account.createSession(userId, verificationCode); The userId is coming from the token and the verificationCode is the 6 digit code coming from the text I recieve. Am I missing something obvious here?
for context the exact error is [AppwriteException: Invalid token passed in the request.]
Recommended threads
- HUGE OUTRAGE IN APPWRITE, I CANNOT ACCES...
I have 2k users trying to access, sending me messages. What am I supposed to do? Please solve this asap.
- All my apps are not opening now
All my apps are not opening now 200+ apps are not opening plz fast
- My account got banned without obvious re...
Hello, I’m a normal user of Appwrite. Today I found my account was banned suddenly, and I can’t log in normally. I have only been doing normal development and...