WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by rtCamp v1.4.4

Log in with Google

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

Log in with Google

The facts

Rating
4.6★ from 17
Active installs
6k+
Price
Free
Last updated
13 Aug 2026
Added
Oct 2020
Requires WP
5.5
Tested up to
WP 7.0.4
Requires PHP
7.4
Downloads
136,069

Our analysis

AI-assisted

Log in with Google is a WordPress plugin that allows users to log into WordPress sites using their Google accounts, eliminating the need for traditional passwords. The setup involves creating a project in the Google Developers Console and configuring OAuth credentials to enable Google login functionality.

This plugin is suitable for sites that want to streamline user authentication and can restrict user registrations to specific Google domains, making it ideal for private or internal sites. It supports automatic user registration and can be configured to whitelist certain domains for added security.

Best for: This plugin suits websites looking to simplify user login processes, particularly internal or private sites.

What it does well

  • Allows login via Google accounts
  • Eliminates the need for passwords
  • Supports automatic user registration
  • Can restrict registrations to specific domains
  • Free to use from the WordPress.org directory

Where it falls short

  • Requires initial setup in Google Developers Console
  • Limited browser support for features like One Tap Login
  • Configuration may be complex for some users

Verdict

Log in with Google provides a straightforward way to manage user authentication via Google accounts, though it requires some technical setup and may not be suitable for all users.

From the developer

rtCamp's own description of Log in with Google, lightly tidied.

Ultra minimal plugin to let your users login to WordPress applications using their Google accounts. No more remembering hefty passwords!

Initial Setup

  1. Create a project from Google Developers Console if none exists.

  2. Go to Credentials tab, then create credential for OAuth client.

    • Application type will be Web Application
    • Add YOUR_DOMAIN/wp-login.php in Authorized redirect URIs
  3. This will give you Client ID and Secret key.

  4. Input these values either in WP Admin > Settings > WP Google Login, or in wp-config.php using the following code snippet:

    define( 'WP_GOOGLE_LOGIN_CLIENT_ID', 'YOUR_GOOGLE_CLIENT_ID' ); define( 'WP_GOOGLE_LOGIN_SECRET', 'YOUR_SECRET_KEY' );

Browser support

These browsers are supported. Note, for example, that One Tap Login is not supported in Safari.

How to enable automatic user registration

You can enable user registration either by
– Enabling Settings > WP Google Login > Enable Google Login Registration

OR

  • Adding
    define( 'WP_GOOGLE_LOGIN_USER_REGISTRATION', 'true' );
    in wp-config.php file.

Note: If the checkbox is ON then, it will register valid Google users even when WordPress default setting, under

Settings > General Settings > Membership > Anyone can register checkbox

is OFF.

Restrict user registration to one or more domain(s)

By default, when you enable user registration via constant WP_GOOGLE_LOGIN_USER_REGISTRATION or enable Settings > WP Google Login > Enable Google Login Registration, it will create a user for any Google login (including gmail.com users). If you are planning to use this plugin on a private, internal site, then you may like to restrict user registration to users under a single Google Suite organization. This configuration variable does that.

Add your domain name, without any schema prefix and www, as the value of WP_GOOGLE_LOGIN_WHITELIST_DOMAINS constant or in the settings Settings > WP Google Login > Whitelisted Domains. You can whitelist multiple domains. Please separate domains with commas. See the below example to know how to do it via constants:
define( 'WP_GOOGLE_LOGIN_WHITELIST_DOMAINS', 'example.com,sample.com' );

Note: If a user already exists, they will be allowed to login with Google regardless of whether their domain is whitelisted or not. Whitelisting will only prevent users from registering with email addresses from non-whitelisted domains.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for managing users.

Members

Members

94

The best WordPress membership and user role editor plugin. User Roles & Capabilities editor helps you rest...

Free 300k+ installs 4.9★ (1,274)
User Role Editor

User Role Editor WordPress plugin makes user roles and capabilities changing easy. Edit/add/delete WordPress u...

Free 700k+ installs 4.5★ (288)
LoginPress

LoginPress is a Custom Login Page Customizer plugin allows you to easily customize the layout of login, admin...

Free 200k+ installs 4.8★ (1,075)
User Registration & Membership

Build membership sites with tiered plans, content restriction, drag-&-drop custom registration & login...

Free 50k+ installs 4.8★ (828)
Custom Login Page Customizer

Customize your WordPress login page with live preview. Change logo, background, colors, and form styling witho...

Free 50k+ installs 4.9★ (474)
User Profile Builder

Powerful user profile plugin to create front-end user registration forms, login & user profile forms. Incl...

Free 40k+ installs 4.7★ (735)