Opens in a new tab
Turquoise abstract wavy W logo on a black background
Turquoise abstract wavy W logo on a black background
White WP PowerSuite logo on a black background
White WP PowerSuite logo on a black background
[wpps_ai_summarize]
On This Page
Last updated: 07/09/2026

Google Sign-in

Sign in with Google—simple for visitors, optional auto-registration for new users.

Overview

Offer Google sign-in for WordPress through a familiar account-selection flow, with optional placement on WooCommerce login, registration, and checkout forms. Google Sign In connects a Google identity to a WordPress account and requires a verified email before the sign-in process is accepted.

Customize the provider button, place it manually with shortcodes, control first-login registration, and optionally display the user’s Google profile photo through WordPress’s avatar system. A valid Local User Avatar takes priority over the Google image. Google Sign In is a Free module in WP PowerSuite; a Google Cloud OAuth Client ID and Client Secret are still required.

Solid black square
Solid black square
Who is this for?
  • Businesses adding Google as an alternative WordPress sign-in option
  • WooCommerce stores offering social access to customer account forms
  • Communities that want controlled registration through verified Google email
  • Agencies combining social login with consistent buttons and profile images

Features

Google Account Authentication
Connect the WordPress login journey to Google's OAuth 2.0 and OpenID Connect flow, including an account-selection request.
Verified Email Requirement
Reject Google sign-ins whose returned email is unverified rather than treating every address as suitable for account resolution.
Controlled First-Login Registration
Create Subscriber accounts only when Auto Register and WordPress's Anyone can register setting both permit new users.
WooCommerce Social Login
Optionally display Google sign-in on supported WooCommerce login, registration, and checkout forms.
Google Profile Photo Display
Store the Google avatar URL and use it through supported WordPress avatar output, with the option enabled by default.
Respect Local Profile Images
Keep a valid Media Library avatar selected through Local User Avatar instead of replacing it with the Google photo.
Flexible Buttons and Shortcodes
Use filled, outline, or minimal buttons with label or icon display, and place Google sign-in manually where supported.
Custom Login Destination
Choose the normal destination after a successful login, or use the homepage when the setting is left empty.

Add Google Login to the WordPress Account Journey

A social-login option is most useful when it joins the account system already used by the website. Google Sign In sends the visitor through Google's authorization flow and then resolves the WordPress user associated with that Google identity. The account still belongs to WordPress, so the module is an additional authentication route rather than a separate membership database. The authorization request asks Google to present account selection, which is useful for visitors who use more than one Google account.
This approach can fit a business website, a customer account area, or a community that wants to offer Google alongside its existing login form. The module shares its button group and callback handling with Facebook Sign In and GitHub Sign In , allowing enabled providers to appear together. Google Sign In itself is free, but each connection still needs its own credentials, and enabling another provider does not automatically configure the Google OAuth client.

Require Verified Email and Keep Account Creation Deliberate

The module requires a verified Google email. An unverified address is rejected rather than being accepted simply because it appeared in a profile response. WP PowerSuite also stores the Google account identifier for the established connection and uses the shared social-login account-linking policy. These are important distinctions when a site already has registered users: matching an existing account, establishing a provider connection, and creating a new account are not interchangeable operations.
First-login registration only happens when Auto Register is enabled and WordPress's Anyone can register setting is also on. The created account receives Subscriber. Google authentication therefore does not override a closed registration policy or grant administrator, editor, or another privileged role. For a client website, the practical decision is whether Google should help existing users sign in, permit controlled new registrations, or do both under the site's configured policy.

Offer Google Sign-In on WooCommerce Account Forms

Customers often need account access while shopping rather than from a standalone WordPress login page. With WooCommerce placement enabled, Google Sign In can appear on the supported login, registration, and checkout forms. This keeps the social option close to the point where the customer is already trying to authenticate, instead of asking them to find a separate login route elsewhere on the website before returning to their account or order journey.
The integration adds an authentication choice; it does not replace WooCommerce payments or change the role assigned by the social account-creation flow. Its shared WooCommerce handling works alongside the store's own account context, while the general redirect setting provides a destination for ordinary successful sign-ins. Review both the placement and the return journey when configuring the website so the button sends users into the intended workflow rather than an unrelated landing page.

Display Google Profile Photos Without Overriding Local Avatars

Google Sign In can store the user's Google profile-picture URL and display that photo through WordPress's supported avatar output. This option is enabled by default. Unlike merely saving a remote URL in user metadata, the module includes avatar display handling, allowing the stored Google image to be used where the website asks WordPress for the user's avatar. It remains a remote Google image URL rather than a newly uploaded Media Library attachment.
An intentionally selected local image remains the priority. If Local User Avatar has a valid attachment for the user, Google Sign In leaves that choice alone. Alphabet Avatars can provide initials for registered users in its own supported workflow, while a Google photo can take precedence when available and no local image is set. This gives a site a useful distinction between a deliberate local portrait, a social-profile photo, and generated initials without making Google login overwrite every user's existing presentation.

Place Google Buttons Inside Your Existing Design

The module's button options let Google sign-in fit alongside the rest of your login design. Filled, outline, and minimal styles are available, together with labeled or icon-only output. Labeled provider buttons can share a row, which helps when several social modules are enabled. You can use these controls to keep a compact login panel or a more prominent provider choice without requiring a separate design system for each authentication method.
Manual placement is available through [wpps_google_sign_in], [google_sign_in], or [social_login providers='google']. This is useful for supported content and templates that need a specific button location rather than only the standard login-form group. The module still handles the Google account connection; the shortcode is a placement option, not a complete page-builder template or a substitute for configuring the OAuth client correctly.

Use Your Own Google OAuth Connection

Google Sign In requires the Client ID and Client Secret from your Google Cloud OAuth client. If either is missing, the login hooks do not register, so switching the module on does not create an active connection by itself. This keeps the feature dependent on an explicitly configured Google application rather than presenting a sign-in route that has no provider credentials behind it. The connection requests identity, email, and profile information for the supported account workflow.
The normal authentication flow retrieves user information from Google's user-info endpoint after the token exchange. If that response is incomplete, the implementation can supplement it by decoding the ID-token payload; that supplementary fallback does not independently verify the token signature. Projects with explicit identity-token validation requirements should review this behavior before deployment. The module should not be represented as providing independent signature validation for that fallback merely because it uses an OpenID Connect flow.

Use Cases

  • Business Website Login
    Offer a Google account option for users who want an alternative to the standard WordPress sign-in form.
  • WooCommerce Account Access
    Place Google sign-in on supported customer account and checkout forms while WooCommerce retains its existing store workflow.
  • Controlled Community Registration
    Allow first-time Subscriber creation only when the website's registration settings permit new accounts.
  • Consistent Profile Images
    Use Google profile-photo display while respecting a locally selected WordPress avatar.
  • Shared Social-Login Layouts
    Present Google alongside other enabled WP PowerSuite providers through the common button group or shortcodes.

Frequently Asked Questions

Related Modules

Letter-based profile images with customizable colors—great when you want a polished look without relying on Gravatar.
Disabled
Let members update their login name from their profile when life changes—fix a typo, drop an old email-style handle, or match a...
Disabled
Use a custom login URL instead of the default one bots love to hammer; bookmark your new address.
Disabled
Pick where users land after login—global default, optional per-role URLs on supported plans, and WooCommerce-friendly behavior.
Disabled
View active WordPress login sessions, force logout users, and limit concurrent sessions by role.
Disabled
Add “Continue with Facebook” on your login page so visitors can use their Meta account instead of another password. Works with the...
Disabled
Your logo on the login page for a branded sign-in experience.
Disabled
Last login time in the Users table so you can see who has been active recently.
Disabled
View the site as another user for support or testing, with time limits and a quick way to return to your own...
Disabled
Same friendly login error every time—stops people from fishing for valid usernames.
Disabled