Log in with Google

elementor pro

🎨 Log in with Google

WPThemeDetector has detected that Log in with Google is a popular WordPress plugin, which is expertly developed by the talented author named ! It has an impressive 4.5 out of 5 ratings (based on 14 user reviews), with up to 5000 number of downloads, showcasing its wide user base and trust. : This plugin infomation is last updated on June 2, 2025.

Download Plugin Best Web Hosting

In this section, WPThemeDetector provides detailed information about the WordPress plugin Log in with Google, including the plugin’s author, the latest version, user reviews & ratings, downloads, screenshots, etc.

Plugin Name Log in with Google 🔗
Popularity Active Installs: 5000🔹Star Ratings: 4.5 out of 5 🔹User Reviews: 14
More Info Current Version: 1.4.0🔹Author: 🔹Last Updated On: May 5, 2025🔹Required WP: 5.5🔹Required PHP: 7.4
Tags authentication, Google Login, oauth, sign in, sso
Description

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.

Hooks

For a list of all hooks please refer to this documentation.

wp-config.php parameters list

  • WP_GOOGLE_LOGIN_CLIENT_ID (string): Google client ID of your application.

  • WP_GOOGLE_LOGIN_SECRET (string): Secret key of your application

  • WP_GOOGLE_LOGIN_USER_REGISTRATION (boolean) (optional): Set true If you want to enable new user registration. By default, user registration defers to Settings > General Settings > Membership if constant is not set.

  • WP_GOOGLE_LOGIN_WHITELIST_DOMAINS (string) (optional): Domain names, if you want to restrict login with your custom domain. By default, it will allow all domains. You can whitelist multiple domains.

BTW, We’re Hiring!

continue reading...
Screenshot
Plugin Homepage Download This Plugin

Log in with Google Website Examples

WP Theme Detector analyzes public information on WordPress websites. Information may not be 100% accurate. Some plugins cannot be detected, and others have poor detection accuracy. It is cached for a certain period to reduce load.

🔥Recommended WordPress resources

WordPress is a versatile and powerful platform, and creating a website in 2025 requires the right resources. Here are some recommended tools to help you make the most of your WordPress journey: