HACKER Q&A
📣 ent101

Why is there no way to log out of a Google account?


There seems to be no way to log out of a Google account on the web. The only option to log out of all your Google accounts! This doesn't make sense.


  👤 _nickwhite Accepted Answer ✓
This is the #1 reason I use Firefox Container Tabs.

I can have a container for my work, personal, project, etc. where Google is logged in, and not commingle any of them, and all of the tabs are a different color, clearly distinguishable from one another. I have containers for separate Microsoft accounts as well. My "normal" tab is not logged in to any Google or Microsoft accounts, because why would I want them tracking me all over the web? Seriously, container tabs is one of the primary reasons I stick with Firefox, and it's FANTASTIC if you have multiple identities you need to manage.


👤 3np
If you ever have a reason to do this, it's a sign that you should not never have logged in to them in the same session in the first place. Use browser profiles (chromium/firefox) or multi-account containers (firefox) to keep them separate, lest Google effectively starts treating them as one.

You know all those "my employer G account was closed and now I permanently lost access to my personal one as well"/"an old employee got their yt video flagged and now our Play Store account is inaccessible" etc stories? I'm quite sure this is the mechanism behind those links.


👤 markus_zhang
I had the same issue so I decided to create a bunch of website accounts(stackoverflow for example) just for my company profile's google account. Once I leave the company everything will be wiped by IT which is fine.

👤 smartician
You can log out of all, then only sign in to the account you want (and optionally remove the "unwanted" account(s) from the sign in list).

👤 yuppie_scum
Better to log out of all and log back in than to have a random one logged in that you don’t know about.

👤 frogger8
A cookie is basically just an item in a dictionary. Each item has a key and a value. For authentication, the key could be something like 'username' and the value would be the username. Each time you make a request to a website, your browser will include the cookies in the request, and the host server will check the cookies. So authentication can be done automatically like that.

To set a cookie, you just have to add it to the response the server sends back after requests. The browser will then add the cookie upon receiving the response.

https://stackoverflow.com/questions/17769011/how-does-cookie...