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
- CORS errors in Obsidian custom plugin
Hi, anyone here familiar with obsidian community plugins? In short: it's a local first note app which supports writing your own add-ons / plugin But I keep get...
- Appwrite 1.9.0 doctor fails tho database...
So i was testing in a local environment the upgrade for 1.9.0, and after getting everything into a running state, i checked the logs that shows : ``` └── Cre...
- Failed to start containers.
I'm trying to install Appwrite locally but struck on the subject point. There is no clear error in logs.