I've been struggling with this problem on my servers (self hosted 1.6.0 & 1.7.4) , multiple projects , multiple apps , and I think I have reached a very strange conclusion:
If the same device (like mobile phone) is working with multiple apps (Flutter in my case) with different projects on the same server, there's a problem with the callback.
I have tried signing in on multiple devices , in all of them the process is similar:
- I run the createOAuthSession (with OAuthProvider.google).
- I get to the "Choose an account" screen, I select a google account
- it jumps to the server, I see Appwrite Logo,
- it jumps back to the "Choose an account screen" and stuck there.
- only if I press the X button in this screen , then it closes , and I am in my home page , the sign in process completed successfully , all the post authentication process finished.
That screen was obscuring it.
The only way I have managed to overcome this problem is by creating a new emulator, completely clean, when I installed the first app working with Appwrite, it closed the Google window automatically and continued to the home screen
Would love to hear your ideas.
Recommended threads
- Getting this error when creating a websi...
when I visit the site I get 404, even if the deployment is successfull
- Error updating attribute in table with r...
I have two tables with a bidirectional relationship attribute, one called "amenities" and the other "reservations". When I try to update a field called "pricePe...
- Google OAuth2 Login on Expo/React Native...
Does anyone has a guide on how to implement this on a Expo project? I've been trying to implement it, used AI and etc but can't. 1. Do I have to have a domain/...