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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Usage of the new Client() and dealing wi...
Hey guys, just a quick one - we had some web traffic the other day and it ended up bombing out - To put in perspective of how the app works, we have a Nuxt Ap...
- [Beginner] CLI --queries Syntax Error & ...
Hi everyone! I am a beginner with Appwrite and trying to use the CLI, but I'm stuck with a syntax error. Any guidance would be greatly appreciated! 🙏 **Enviro...