Google announced that from March 15 2021 for the open-source version of Google Chrome, Chromium, it is limiting Private API availability.
The main implication of this change is that is no longer possible to sync Chromium bookmarks, tabs, etc. with a Google Account.
On i.a. Arch Linux, Chromium can be installed from the repositories, whereas Chrome can only be installed from the Arch User Repository (a more roundabout way).
Is there a way to re-enable the syncing of a Google Account in Chromium?
Launching Chromium with flags setting a oauth2 ID and secret can re-enable the syncing of Chromium with a Google Account.
The oauth2-client-id
should be set to: 77185425430.apps.googleusercontent.com
The corresponding oauth2-secret
should be set to: OTJgUOQcT7lO7GsGZq2G4IlT
E.g. on Arch Linux this can be done by creating the file ~/.config/chromium-flags.conf
with the contents:
--oauth2-client-id=77185425430.apps.googleusercontent.com
--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT
It should be noted that Google recommends against doing this. It is also not clear for how long this workaround will work.
Edit: I recently came in posession of a system on which I only managed to install Ubuntu. On Ubuntu it worked by passing the flags directly in the command. That should work on any OS.
Still working as of June 2024 (Chromium 125)