Enabling Chromium to sync with Google Account¶
Why Sync Your Chromium Browser?¶
Syncing Chromium with your Google account allows you to:
- Access your bookmarks across devices
- Sync your browsing history
- Share saved passwords securely
- Keep extensions and settings consistent
- Access open tabs from other devices
By default, Raspberry Pi OS's Chromium browser lacks the necessary authentication tokens to connect with Google's services.
Step-by-Step Instructions¶
1. Create the OAuth Configuration File¶
Create the file /etc/chromium.d/oauth2-client using sudo privileges:
2. Add OAuth Credentials¶
Copy and paste the following code into the file:
3. Save and Exit¶
Press Ctrl+X, then Y to confirm saving, and Enter to exit the nano editor.
4. Restart Chromium¶
Close and reopen Chromium for the changes to take effect.
5. Sign In to Google¶
- Open Chromium
- Click on the profile icon in the top-right corner
- Select "Sign in to Chromium"
- Enter your Google account credentials
Troubleshooting¶
If you encounter issues:
- Ensure the file path and permissions are correct
- Verify you entered the credentials exactly as shown
- Make sure your system date and time are accurate
- Check your internet connection