Having a Google Login feature is very important for any website. When a visitor lands on your site and sees a registration form, they have to fill out multiple fields and sometimes go through an extra email verification step before they can finally log in. This whole process takes too much time and effort. To make it simpler, we use Login with Google, which lets users sign in with a single click. In this tutorial, we will install a completely free Login with Google plugin in WordPress so any user can easily log in to your website.
Nowadays, nobody likes filling out long registration forms or remembering yet another password while shopping online or signing up on a site. Especially in WooCommerce e-commerce stores, more than 30% of customers leave the checkout page simply because the registration process is too long.
If you try to add a "Continue with Google" button to your site, most popular social login plugins:
- Charge for an expensive Pro version ($49–$99/year) just to display the button on WooCommerce Login and Checkout pages.
- Load heavy JavaScript and third-party servers that slow down your website.
To solve this problem permanently, we built Techno Smarter One-Click Google Login (For WordPress & WooCommerce)—a 100% free, lightweight plugin that runs directly on Google OAuth 2.0.
Key Features of Techno Smarter One-Click Google Login Plugin
This plugin connects your website directly to Google without any third-party middleman or tracking server:
- 100% Free Forever: Completely free for WooCommerce My Account, Checkout, and WordPress Login—no paid upgrades required.
- Smart Existing User Linking: If a user already has an account registered with the same Gmail address, the plugin does not create a duplicate account; it logs them directly into their existing account.
- Auto Account Creation: The first time a new user clicks the button, their name, email, and profile are automatically registered with the WordPress/WooCommerce Customer role.
- Custom Redirect Control: Choose exactly which page to send users to after login (such as My Account, Dashboard, or Home Page).
- Shortcode Support: If you are building a custom login page using Elementor, Divi, or Gutenberg, you can place the login button anywhere using a shortcode.
- Zero Bloat & Ultra Fast: Built with pure PHP and standard OAuth 2.0—zero negative impact on your site's Core Web Vitals speed.
Free Plugin Download
Download the plugin .zip file for free using the button below:
Download Techno Smarter One-Click Google Login Plugin (.ZIP)
Compatibility: WordPress 6.0+, WooCommerce 7.0+ & PHP 7.4 / 8.0+ | License: 100% Free
Step 1: Install and Activate the Plugin in WordPress
It is best to install the plugin first so you can copy your exact Authorized Redirect URI directly from the plugin settings:
- Log in to your WordPress Admin Dashboard.
- Go to Plugins → Add New Plugin from the left sidebar menu.
- Click the "Upload Plugin" button at the top.
- Select the
.zip file you downloaded, click "Install Now", and then click "Activate Plugin".
- Now open the plugin's Settings page—you will see a Redirect URI / Callback URL listed there. Copy it, as you will need it in the next step.
Step 2: Create Client ID and Client Secret in Google Cloud Console (Free)
To enable Google Login, you need to generate free OAuth 2.0 credentials from the Google Cloud Console (no credit card is required):
1. Create a New Project
- Open the Google Cloud Console and log in with your Gmail account.
- Click the project dropdown at the top left, create a New Project (for example,
My Website Google Login), and select it.
2. Set Up the OAuth Consent Screen (Most Important Part)
- From the left menu, go to APIs & Services → OAuth consent screen (in the newer interface, go to Google Auth Platform → Overview / Audience).
- Click Get Started and fill in these details:
- App Name: Enter your website or brand name (this is the name users will see in the Google login popup).
- User Support Email: Select your Gmail address.
- Audience: Select External (so any public visitor can log in using their Gmail account).
- Developer Contact Email: Enter your email address and click Save / Create.
- Publish for Public Users: In the Audience section under Publishing status, click "PUBLISH APP" and confirm.
- Pro Tip: Because Login with Google only requests basic, non-sensitive data (Email and Profile Name), publishing it does not require going through Google's long verification process—it goes live for all users immediately.
3. Generate Client ID and Client Secret
- From the left menu, go to Clients (or APIs & Services → Credentials) and click + Create Client / OAuth client ID.
- Choose Web application as the Application type.
- Under Authorized JavaScript origins, enter your website's main domain (without a trailing
/), for example:
https://yourdomain.com
- Under Authorized redirect URIs, click + ADD URI and paste the exact Callback URL you copied from the plugin settings in Step 1.
- Click Create. Your Client ID and Client Secret will appear on the screen—copy both.
Step 3: Connect the Keys in WordPress Plugin Settings
- Go back to your WordPress Dashboard and navigate to Techno Smarter Google Login → Settings.
- Paste your copied Google Client ID and Google Client Secret into their respective fields.
- Choose where you want the "Login with Google" button to appear on your website:
| Button Placement |
Who Benefits |
WordPress Login Page (wp-login.php) |
Fast login for blog users, authors, and admins. |
| WooCommerce My Account Page |
1-click account creation and easy order tracking for customers. |
| WooCommerce Checkout Page |
Faster checkout and lower cart abandonment. |
| Custom Page (via Shortcode) |
Custom popups or landing pages built with Elementor or Gutenberg. |
Finally, set the Redirect URL after Login (/my-account/ works best for WooCommerce sites) and click Save Changes.
Step 4: How to Test It Live
Because you are already logged into your browser as an Admin, always test the login flow in an Incognito / Private Window:
- Press
Ctrl + Shift + N in Chrome to open a new Incognito window.
- Visit your website's
/my-account/ or /wp-login.php page.
- Click the "Continue with Google" button and sign in using a different Gmail account.
- Once login succeeds, you will be redirected straight to the page you configured.
- Check Users → All Users in your WordPress Admin Dashboard—that new user will automatically appear registered with their name and email.
4 Common Errors and Quick Fixes (Troubleshooting)
Error 400: redirect_uri_mismatch
- Cause: The Redirect URI entered in Google Cloud Console does not match the plugin's Callback URL 100%.
- Fix: Double-check for mismatches between
http:// and https://, www. vs non-www., or an extra trailing / at the end. Copy the exact URL from plugin settings, paste it into Google Console, save, and test again after 2 minutes.
Error 403: access_denied (Access blocked: App has not completed Google verification)
- Cause: Your Google Cloud app is still in Testing Mode.
- Fix: Go to OAuth Consent Screen / Audience and click the "PUBLISH APP" button. See the full steps here: Fix: Access blocked Error 403 Guide.
- User still appears logged out after logging in (Caching Plugin Conflict)
- Cause: Caching plugins like LiteSpeed Cache, WP Rocket, or Cloudflare are caching your login or My Account pages.
- Fix: Open your cache plugin settings and add
/my-account/, /wp-login.php, and the Google OAuth Callback URL to the Exclude from Cache list.
- Missing SSL (
HTTPS) on your website
- Cause: On a live domain, Google OAuth 2.0 only supports
https:// (http:// only works on localhost).
- Fix: Enable free Let's Encrypt SSL from your hosting panel (Hostinger/cPanel) and update your site URLs to
https:// under WordPress Settings → General.
Frequently Asked Questions (FAQs)
Q1: What happens if a customer already has an account on my WooCommerce site with the same Gmail address?
The plugin checks the email address in your WordPress database first. If an account already exists with that email, it logs the user directly into their existing account (along with all their past orders) instead of creating a duplicate account.
Q2: Does setting up Google Login via Google Cloud Console cost anything?
No. Google OAuth 2.0 Sign-In is 100% free and has no daily user login fees, even if thousands of customers log in to your site every day.
Q3: Can users who register with Google Login still log in with a password later?
Yes. When a new user registers through Google, WordPress generates a strong random password for them in the background. They can reset their password anytime using the Lost your password? link, or keep using 1-click Google Login.
Q4: Is this plugin safe for my WordPress Admin account security?
Yes, completely. The plugin relies on Google's official OAuth 2.0 token verification. Nobody can log in to your account unless they have access to your actual Gmail password and pass your Google 2-Step Verification.