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
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...
- redirect uri not working for OAuth with ...
I'm following this tutorial: https://appwrite.io/blog/post/google-oauth-expo#create-an-expo-app but im using an android development build instead. When I run h...
- Cannot use Apple Oauth2 in React Native/...
Hi! I've trying to add the Apple sign in feature into my Expo App. I followed the docs, but I still receiving the error "Cannot set 'location.href'". Can someon...