There’s a well know bug in Google Chrome that forces you to use the same Google Account (let’s name it account A) both in Google Chrome and in all Google apps that you have run in this browser. Logging-off this account in any of Google apps causes immediate log-off in Google Chrome as well and also causes your Google data synchronisation to stop.
This may be obvious and convenient in most cases, but fails completely in certain scenarios.
For example, I am using Google Chrome in my office and I am syncing all Google data to a separate account B (to have i.e. separate set of bookmarks, for my work only and to not mix them up with my private bookmarks), but when opening Gmail, I want to be logged in to account A (private one), because I’m checking my private e-mails this way (I am using Outlook for office e-mails).
There’s a workaround for this problem (“best answer” here). However, it turned out to be not working for me.
Change Chrome flags
Thus, I had to modify it a little bit:
- Navigate to
chrome://flagsin the URL bar.
- Search for
consistencyto find Identity consistency between browser and cookie jar option.
- Change its value to
Enabled Dice (fix auth errors).
- Relaunch, as advised.
This will restart Google Chrome showing you that there was an error in Chrome sync functionality.
Then (there will be a lot of relaunches, as in good-old Windows times):
- Login to account A in Google Chrome / synchronisation settings.
- Once correctly signed-in, restart Chrome.
- Navigate in any tab to any Google app (i.e. Gmail). Verify that you’re logged in to account A.
- Log-off and in “Login again” screen remove all remembered accounts.
- Make sure that you’re still logged in to account A in Google Chrome.
- Restart Chrome again.
- Log in to account B in Gmail or any other Google app.
- Verify that you’re logged in to different account in that Google app than in Google Chrome, that this app is working (try to refresh page few times) and that the synchronisation process in Google Chrome is also working.
- Restart Chrome for the last time to verify that situation is correctly replicated after relaunch.
Optionally, you may want to restart entire PC to confirm that even after full system relaunch you’re still logged in to account B in Gmail and to account A in Google Chrome.
One more thing to underline. Switching between accounts in Google Chrome (i.e. logging to a different accounts there) causes it to create new icons on taskbar. Ignore all of them and always use (pin to taskbar) a shortcut created on your desktop when initially installing Google Chrome!
(you may safely remove shortcut from your desktop, once it is pinned to taskbar)
As per comment below, the Enabled Dice (fix auth errors) flag has been removed in recent version of Chrome.
Now — since both accounts are available in right-top menu — you must use this menu and switch to the desired account each time you restart Chrome (each time session cookies goes hell).
After manually changing to second account all other services should operate normally, i.e. you should be able to use account B in i.e. Gmail while syncing Chrome’s configuration, tabs, bookmarks etc. to account A — all until next restart of Chrome.
A small, yet I think acceptable inconvenience.