Knowledge Base

Preserving for the future: Shell scripts, AoC, and more

Chromium: use Debian key to keep google user signed in

For a Devuan user who also uses Chromium, a change within the past year or 2 by Google causes the browser to always require the google user to log back in after starting up the browser.

The current fix for this is to apply the Debian project oauth2 client id and secret from a particular file. In file /etc/chromium.d/oauth2-client:

export CHROMIUM_FLAGS="$CHROMIUM_FLAGS --oauth2-client-id=7718EXAMPLE.apps.googleusercontent.com --oauth2-client-secret=OTJgUEXAMPLE7GsGZq2G4IlT"

References

Weblinks

  1. Ripped directly from Enabling Chromium to sync with Google Account - Stack Overflow

Alternate research

File ~/.config/chromium-flags.conf did not work in my testing, from Arch Linux.

--oauth2-client-id=7718EXAMPLE.apps.googleusercontent.com
--oauth2-client-secret=OTJgUEXAMPLE7GsGZq2G4IlT

Internal files

Comments