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
- Student plan issue
I am using GitHub student plan, I even got access to appwrite's mock phone number. but when I try to use it, it says the phone number limit has reached
- Getting "The current user has been block...
So today I want to deploy something to Appwrite but when I click Sign in with Github, it's redirect me to login site and in the url bar I see this `?error=%7B"m...
- Flutter OAuth2 does not attach Google se...
Hi Appwrite team, I’m using Appwrite Auth in a Flutter mobile app and trying to upgrade an anonymous user to Google OAuth. Docs say that if there is already a...