Self-hosted 1.6.0 / Flutter
I am facing a strange problem. I was working with a user created with Google OAuth2, it was registered in the Authentication environment perfectly and all working smooth.
But , when I sign out and try to create a new User with a different email address (again with OAuth2 , Google), instead of creating a new User for that email address, it actually adds a 2nd identity to the same existing User , even after I have completely signed out , deleted the session, cleared the object in the listener.
I cannot understand why it happens , but as a workaround, I tried to locate the second identity in the User and delete it, but when I try to query the identities of the user with users.listIdentities (from dart_appwrite Users API), I get error 401 (role: guests).
Just to clarify , the API key has Users full permissions.
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...