Once logged in with an account, if i log out and try to log in with another google account, i get logged in with the previous google account insted of new one. Also, there won't be any new user entry in the appwrite console as well.
here is the code i used: try { await _client.createOAuth2Session(provider: 'google'); final currentUser = await _client.get(); logger.i(currentUser.email); await _notificationService.registerDevice(currentUser.$id); return currentUser.toDomain(); } catch (e) { throw const AuthenticationException("Something went wrong"); }
FYI, it's best to wrap code in backticks to format a bit nicer. You can use 1 backtick for inline code (https://www.markdownguide.org/basic-syntax/#code) and 3 backticks for multiline code (https://www.markdownguide.org/extended-syntax/#syntax-highlighting.
sounds like you're running into this: https://github.com/appwrite/appwrite/issues/7021
I suggest you 👍🏼 the issue
Recommended threads
- How to disable appwrite/embedding from s...
Hi everyone! I'm currently running a self-hosted instance of Appwrite. For my current use case, I don't need the AI/embedding features, and I noticed the `app...
- Invalid type for attribute 'email': emai...
I'm using the node-appwrite SDK to create a table, the column payload looks like this: ```json [{"key":"email","type":"email","required":true, "size": 512}] ``...
- Git connection is not working anymore on...
Hello all, I updated from 1.8.1 to 1.9.0 then 1.9.5. All seems to work even the Github connection. In Git configuration I see my Github user but when trying to...