Skip to content
ArNahidPublic

About

Chromium Google Sync Setup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Chromium Google Sync Setup

Enable Google Sign-in and Sync on Chromium browser using OAuth2 credentials.


Overview

Chromium, the open-source version of Google Chrome, does not include Google Sync by default. By adding OAuth2 credentials to a config file, you can unlock full Google sign-in — syncing your bookmarks, history, passwords, and settings across devices.


Prerequisites

  • Chromium browser installed
  • Linux operating system
  • Terminal access

Installation

Step 1 — Create the config file

Open your terminal and run:

mkdir -p ~/.config/chromium
nano ~/.config/chromium-flags.conf

Step 2 — Add OAuth2 credentials

Paste the following lines into the editor:

--oauth2-client-id=77185425430.apps.googleusercontent.com
--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT

Save and exit nano:

Ctrl + O   →  Save
Enter      →  Confirm filename
Ctrl + X   →  Exit

Step 3 — Verify the file

cat ~/.config/chromium-flags.conf

Expected output:

--oauth2-client-id=77185425430.apps.googleusercontent.com
--oauth2-client-secret=OTJgUOQcT7lO7GsGZq2G4IlT

Step 4 — Restart Chromium

Close Chromium completely and reopen it. The flags are loaded automatically on every startup.

Step 5 — Sign in to Google

  1. Open Chromium
  2. Click the profile icon in the top-right corner
  3. Click Sign in
  4. Enter your Google account credentials

Updating the Config File

To modify the flags at any time:

nano ~/.config/chromium-flags.conf

After editing, save with Ctrl + O then Ctrl + X, and restart Chromium.


File Location

File Path
Chromium flags config ~/.config/chromium-flags.conf

Troubleshooting

Sync not working after setup?

  • Make sure both lines are saved correctly with no extra spaces
  • Fully close and restart Chromium (check no background process is running)
  • Run cat ~/.config/chromium-flags.conf to verify file content

Sign-in button missing?

  • Confirm the file is saved at the exact path ~/.config/chromium-flags.conf
  • Some distros may require a full system restart

OAuth credentials stopped working?

  • These are community-shared public credentials and may occasionally be revoked by Google
  • Search for updated Chromium OAuth2 credentials for your distro

Notes

These OAuth2 credentials are publicly shared by the open-source community and are not private or personal. They are intended for use with open-source Chromium builds on Linux.


License

This guide is provided as-is for educational purposes.

About

Chromium Google Sync Setup

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors