Skip to main content

General Settings

The General tab contains the core configuration options for OneTap Login. This guide explains every setting in detail.

Accessing General Settings

  1. Go to Settings > OneTap Login in WordPress admin
  2. The General tab is selected by default

Settings General Tab Full

API Credentials Section

This section contains your Google OAuth credentials and the connection test tool.

Client ID

Field: Client ID Required: Yes

Your Google OAuth 2.0 Client ID from Google Cloud Console.

Format:

123456789012-abcdefghijklmnopqrstuvwxyz123456.apps.googleusercontent.com

Notes:

Client Secret

Field: Client Secret Required: No (but recommended)

Your Google OAuth 2.0 Client Secret.

Format:

GOCSPX-abcdefghijklmnopqrstuvwxyz12

Notes:

  • Optional for basic One Tap functionality
  • Required for some advanced features
  • Keep this value secure—don't share publicly
Security Notice

Never expose your Client Secret in client-side code, public repositories, or error messages.

Test Connection

Button: Test Connection

Runs 5 diagnostic checks to verify your configuration:

CheckDescription
Client ID FormatValidates ID matches Google's pattern
Client Secret FormatValidates secret format (if provided)
HTTPSConfirms site uses SSL
REST APITests WordPress REST endpoint availability
Google ConnectionVerifies server can reach Google

Connection Test Success

Controls how the plugin interacts with cookie consent plugins.

Field: Respect cookie consent Default: Auto-detect

OptionBehavior
DisabledAlways show One Tap regardless of consent
Auto-detectDetect consent plugins and wait for consent
Always requireAlways require explicit consent before showing

Auto-detect supports 9 plugins:

  1. CookieBot
  2. Complianz
  3. GDPR Cookie Consent (WebToffee)
  4. Cookie Notice
  5. CookieYes
  6. Iubenda
  7. OneTrust
  8. Termly
  9. WP Consent API
GDPR Compliance

For EU websites, use "Auto-detect" or "Always require" to ensure GDPR compliance.

See Cookie Consent Integration for detailed configuration.

One Tap Configuration Section

Settings for the Google One Tap popup.

Enable One Tap

Field: Enable One Tap Default: Enabled

When enabled:

  • Popup appears automatically for signed-in Google users
  • Displays in the corner of the screen
  • Single-click login without redirects

When disabled:

  • Only the Sign-In Button is available
  • No automatic popup shown

Additional One Tap Options

These settings fine-tune the One Tap behavior:

SettingDefaultDescription
Auto-selectOffAutomatically select account if only one exists
Cancel on tap outsideOnClose popup when user clicks elsewhere
Prompt parent ID(empty)Custom container element for the popup

Button Configuration Section

Settings for the "Sign in with Google" button.

Button Display Locations

SettingDefaultDescription
Enable on My AccountOnShow button on WooCommerce My Account page
Enable on CheckoutOffShow button on Checkout page (PRO)
Enable on CartOffShow button on Cart page (PRO)
Enable on wp-login.phpOffShow button on WordPress login page

Button Appearance

SettingDefaultOptions
Button textcontinue_withcontinue_with, signin_with, signup_with, signin
Themefilled_blueoutline, filled_blue, filled_black
Shapepillpill, rectangular

Button Text Options

ValueDisplayed Text
continue_with"Continue with Google"
signin_with"Sign in with Google"
signup_with"Sign up with Google"
signin"Sign in"

Button Theme Options

ThemeDescription
outlineWhite background with gray border
filled_blueGoogle blue background (#4285F4)
filled_blackBlack/dark background

Button Theme Filled Blue

Button Shape Options

ShapeDescription
pillRounded corners (modern look)
rectangularSquare corners (traditional look)

See Button Customization for detailed styling options.

Button Preview Panel

The settings page includes a live preview panel showing how your button will appear.

Settings Button Preview Panel

Features:

  • Real-time updates as you change settings
  • Shows button on light and dark backgrounds
  • Displays actual Google button (not mockup)

Error Messages Section

Customize the error messages shown to users.

Available Error Messages

Error TypeDefault MessageWhen Shown
Access Denied"Access was denied. Please try again."User denies permission
Popup Closed"The sign-in popup was closed."User closes popup before completing
Network Error"Network error. Please check your connection."Connection issue
Email Exists"This email is already registered."Email conflict
Generic Error"An error occurred. Please try again."Unexpected errors

Settings Error Messages Section

Customizing Messages

  1. Enter your custom message in each field
  2. Keep messages clear and actionable
  3. Consider your brand voice
  4. Save changes
User Experience

Custom messages can reduce support requests by giving users clear next steps.

See Error Messages for best practices.

Settings Summary Table

Here's a complete reference of all General tab settings:

SectionSettingTypeDefault
APIClient IDText(empty)
APIClient SecretText(empty)
ConsentRespect cookie consentSelectauto_detect
One TapEnable One TapCheckboxOn
One TapAuto-selectCheckboxOff
One TapCancel on tap outsideCheckboxOn
ButtonEnable on My AccountCheckboxOn
ButtonEnable on CheckoutCheckboxOff
ButtonEnable on CartCheckboxOff
ButtonEnable on wp-login.phpCheckboxOff
ButtonButton textSelectcontinue_with
ButtonThemeSelectfilled_blue
ButtonShapeSelectpill
ErrorsAccess DeniedText"Access was denied..."
ErrorsPopup ClosedText"The sign-in popup..."
ErrorsNetwork ErrorText"Network error..."
ErrorsEmail ExistsText"This email is..."
ErrorsGeneric ErrorText"An error occurred..."

Saving Settings

After making changes:

  1. Scroll to the bottom of the page
  2. Click Save Changes
  3. Wait for the success message
  4. Test your changes on the frontend
Don't Forget to Save

Settings are only applied after clicking "Save Changes". Navigating away loses unsaved changes.

Next Steps