◦ Comprehensive security
◦ 24/7 support
WordPress Guide → Admin → One Tap Google Login
How to add a one-tap Google login to WordPress
Want to let users sign in to your WordPress site with a single click using their Google account? Adding one-click Google login can speed up the signup process, reduce password fatigue, and make your site feel more modern and secure.
You don’t need to code it yourself or hire a developer—just follow a few setup steps using a free plugin and Google Cloud Console.
Get fast, reliable hosting for WordPress
Power your site with the industry’s fastest, most optimized WordPress hosting
Why enable Google one-click login in WordPress?
Before jumping into setup, here’s why you might want to add Google login to your WordPress site:
- Faster logins and registrations. Users can skip filling out forms or creating new passwords.
- Fewer forgotten passwords. Google handles account security and password management.
- Better user experience. One-click login feels smooth and modern, especially on mobile.
- Safer sign-ins. Google adds two-factor authentication and secure token management by default.
If you allow user accounts—like a membership site, forum, store, or even just a blog with user profiles—this is a simple way to make access easier.
What you need to set up Google login
Here’s what you’ll need to follow this tutorial:
- A working WordPress site with admin access
- A free plugin like WP Social Login or SAML Single Sign On
- A free Google Cloud Console account to get an OAuth Client ID
Once you’ve got those, you can enable the login in a few easy steps.
Step 1: Install and activate a social login plugin
The easiest way to add Google login to WordPress is by using a plugin. One beginner-friendly option is Nextend Social Login. It’s very popular and supports Google, Facebook, Twitter
- In your WordPress dashboard, go to Plugins > Add New.
- Search for Nextend Social Login.
- Click Install Now, then Activate.
Once activated, you’ll see a new menu item called Nextend Social Login in your dashboard.
Step 2: Create a Google Cloud Project and OAuth credentials
Before the plugin can let users log in with Google, you need to create OAuth credentials through the Google Cloud Console.
- Go to the Google Cloud Console.
- Click the Select a Project dropdown at the top and choose New Project.
- Name your project something like “WordPress Google Login” and click Create.
- Once your project is created, make sure it’s selected. Then in the left sidebar, go to APIs & Services > Credentials.
- Click + Create Credentials > OAuth client ID.
- You’ll be prompted to configure your OAuth consent screen. Select External, then click Create.
Set up the OAuth consent screen
- Under App Information:
- App name: enter your site name
- User support email: choose your Google account email
- App name: enter your site name
- Under App domain:
- Add your site domain under “Authorized domains” (e.g., yourdomain.com)
- Fill out the developer contact email
- Click Save and Continue through the next few screens until it’s published
Create the actual credentials
- After the consent screen is set, return to Credentials > Create Credentials > OAuth Client ID.
- Choose Web application.
- Under Authorized redirect URIs, add the URI shown in the plugin instructions. In Nextend, it’s usually:
https://yoursite.com/wp-login.php?loginSocial=google - Click Create. Google will now show you your Client ID and Client Secret. Copy these.
Step 3: Enter your Google credentials in the plugin
Back in WordPress:
- Go to Nextend Social Login > Google Settings.
- Paste your Client ID and Client Secret into the fields.
- Click Save Changes.
Once saved, the plugin will attempt to connect to Google. If everything is configured correctly, you’ll see a success message.
Step 4: Enable Google login on the WordPress login screen
Still in the plugin settings, scroll to the General Settings or Button Display Settings area. From here you can:
- Enable Google login on the default WordPress login page
- Enable it on WooCommerce login/register pages
- Show it on comment forms or registration forms
You can also customize the button text and design to better match your theme.
Save your changes once everything looks good.
Step 5: Test the Google login button
Visit your site’s login page and click the Sign in with Google button. You should be redirected to your Google account page to grant permission. Once accepted, you’ll be logged into WordPress either as a new user (if you’re registering) or as an existing user (if your Google email matches a WordPress account).
You can always disconnect or manage connected accounts under each user’s profile in WordPress.
Tips for better results
If you want to go further than just login functionality, consider these add-ons or tips:
- Restrict registration to Gmail or G Suite domains only. Some plugins let you do this if you only want internal users.
- Use reCAPTCHA on forms to reduce spam if you still allow regular signups.
- Add Facebook, Apple, or Twitter login if you have a broader user base.
- Log users in automatically if they’re already authenticated with Google in the browser.
- Redirect users after login to custom pages like dashboards or profiles.
These features are often available in the premium versions of social login plugins.
Next steps for adding one-click Google login in WordPress
Adding one-click login with Google makes your WordPress site easier to use and more secure for visitors. With just a plugin and a Google developer account, you can have it up and running in minutes.
Now that your login system is modern and user-friendly, consider customizing the user flow even further—like redirecting new users to welcome pages or connecting accounts with membership plugins.
Ready to upgrade your WordPress experience? Professional hosting improves speeds, security, and reliability for a website and a brand that people find engaging and trustworthy.
Don’t want to deal with server management and maintenance either? Our fully managed hosting for WordPress is the best in the industry. Our team are not only server IT experts, but WordPress hosting experts as well. Your server couldn’t be in better hands.
Click through below to explore all of our hosting for WordPress options—including VPS and dedicated servers—or chat with a WordPress expert right now to get answers and advice.
Additional resources
How to use your WordPress admin login page →
How to find, use, and troubleshoot your admin page
WordPress privacy policy: how to write one and how to add it to your site →
Create a comprehensive privacy policy for your WordPress site to ensure compliance and build user trust.
Easy WordPress website maintenance tips →
7 simple steps to keep on regular rotation