Google login

Enable Google on sign-in/register with OAuth Client ID and secret from Google Cloud Console.

Settingtoggle.social_google

Google login

When on, Google appears on sign-in and register if Client ID and secret are set (and Social login master is on).

Where to find it

Admin → Settings → Mods → Social → Google

Field Key
Enable toggle.social_google
Client ID google_app_id
Client secret google_app_secret (write-only on save)

Setup

1. Open Google Cloud Console → Credentials.

2. Create an OAuth 2.0 Client ID (Web application).

3. Add the Authorized redirect URI shown in admin (shape: https://YOUR-DOMAIN/api/auth/oauth/google/callback) - must match exactly.

4. Paste Client ID + secret here, enable the provider, save.

Official overview: Google Identity / OAuth 2.0.

Common problems

redirect_uri_mismatch

URI in Google Cloud must match the admin value (https, path, no trailing-slash surprises).

App verification warnings

New OAuth apps warn until verified - add test users while developing.

Related