Skip to main content
Agency Program Hosting from 10% off. A dedicated account manager. Priority support. Built for growing agencies. Hosting from 10% off, a dedicated account manager and priority support for growing agencies. Speak to the team Join free
Log in with Google icon

Log in with Google

v1.4.5
by rtCamp · 4.6 (17 reviews)

Minimal plugin that allows WordPress users to log in using Google.

6K+ active installs Updated Nov 06, 2026 Tested to 7.0.9 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
Log in with Google

About Log in with Google

This plugin allows users to log in to WordPress using their Google accounts, eliminating the need for passwords. It provides step-by-step instructions for setting up the plugin and enabling user registration. Additionally, it supports various browsers and allows for customization through hooks and configuration parameters.

Screenshots

Log in with Google screenshot
Log in with Google screenshot
Log in with Google screenshot

Changelog

1.4.5

Security: Enforce whitelisted domains on login for existing users by default, with rtcamp.google_enforce_whitelisted_domains_on_login filter for backward compatibility.
Security: Bind Google OAuth sub to WordPress account on first verified login (TOFU).
Security: Use per-browser anti-CSRF state token with __Host- cookie boundary.
Security: Trigger standard WordPress authentication filters during One Tap login.
Security: Mask client secret in settings UI and add explicit option to clear stored secret.

1.4.4

Update: Updated Composer and NPM dependencies.

1.4.3

Security: Reject Google identities without a verified email address.
Update: Updated Composer and NPM dependencies.

1.4.2

Fix: Migrated rtcamp.google_redirect_url from action to filter.
Chore: Documentation update.

1.4.1

Fix: Resolved the issue of redirect_to parameters not working with the shortcode.
Update: Migrated block implementation to modern block implementations.
Update: Updated Composer and NPM dependencies.
Fix: Fixed the issue of One-tap script not being enqueued if the user was logged out.
Chore: Documentation update.

1.4.0

Update: Migrated One Tap Login to use FedCM.
Update: After a successful login or logout, users are now redirected to the page they originally intended to access.
Update: When the plugin performs a redirect, it now includes an x-redirect-by header.
Update: A settings page link has been added directly under the plugin name on the Plugins screen.
Fix: Resolved an issue with generating unique usernames.
Fix: Fixed a bug where JavaScript string translations were not being applied correctly.
Chore: Documentation update.

1.3.7

  • Compatible with WordPress 6.7.2

1.3.6

  • Fix: PHPCS Errors and Warnings

1.3.5

  • Fix: FILTER_SANITIZE_STRING Deprecation warning

1.3.4

  • Chore: Doc update

1.3.3

  • Fix: Redirection back to login page issue.

1.3.2

  • Compatible with PHP 8.1
  • Compatible with WordPress latest version 6.3.1

1.3.1

  • Maintenance release: Updated minimum requirements.

1.3.0

  • Feature: Gutenberg block for Login button.
  • Feature: Save user first name and last name on registration.
  • Add: PHP 8.0 compatibility.
  • Add: Added hook after user authentication.
  • Add: Added hook after user is logged-in.
  • Fix: set login cookie with shortcode display.
  • Fix: Redirection back to login page issue.
  • Updated npm packages and laravel-mix.

1.2.2

  • Maintenance release. Requires PHP >= 7.4.

1.2.1

  • Feature: Provide filter for client arguments: rtcamp.google_client_args

1.2

  • Feature: One-Tap Login setting for supported browsers.

1.1

  • Feature: Add shortcode [google_login] with optional attributes: [google_login button_text="Login with Google" force_display="no" redirect_to="https://example.url/page"].
  • Feature: Replace third-party oAuth client with custom GoogleClient class.
  • Fix: Identification of state value, whether a given oAuth login is relevant to this plugin.
  • Remove: Google oAuth library from composer.

1.0.14

  • Revert Login with GitHub state fix.

1.0.13

  • Fix login issue related to oAuth state.

1.0.12

  • Fix conflict with Login with GitHub plugin.

1.0.11

  • Add ‘login_with_google/client_arguments’ filter for Google_Client arguments.

1.0.10

  • Fix issue where JS/CSS were not loading.

1.0.9

  • Initial release.

1.3.1

  • Maintenance release: Updated minimum requirements.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…