Back

Issue with google session

  • 0
  • Flutter
shivkumarkonade
23 Mar, 2023, 05:28

when I logout from google session in flutter by deleting all sessions & try to login again with google again, It not shows google accounts. It directly sign in with previous session.

TL;DR
Issue: Cannot select a different Google account for login in a Flutter app Solution: Clear the cache of the application or delete all sessions in order to reset the login process and be able to select a new Google account for login.
Drake
23 Mar, 2023, 06:05

So you're saying you're redirected to Google, but instead of seeing the list of Google accounts, you're automatically sent back to Appwrite and then your app?

shivkumarkonade
23 Mar, 2023, 06:06

Yes

shivkumarkonade
23 Mar, 2023, 06:07

@Steven I deleted all sessions while logout.

Drake
23 Mar, 2023, 06:08

I'm pretty sure this is just something on Google side. They probably have some cookie set that remembers the last selected account

safwan
23 Mar, 2023, 07:42

Yep that's right. Google tends to remember which account you selected, and uses that to login.

safwan
23 Mar, 2023, 07:42

Don't know of a clean way to circumvent that though

hortigado
23 Mar, 2023, 12:51

That happens in any app, if you want to change the account you must clear the cache of the application

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more