Joan edukira
WordPress.org

Euskara

  • Itxurak
  • Pluginak
  • Albisteak
  • Laguntza
  • Honi buruz
  • Parte hartu
  • Taldea
  • Lortu WordPress
Lortu WordPress
WordPress.org

Plugin Directory

Easy Secure Login – Google One Tap & Sign-In

  • Submit a plugin
  • My favorites
  • Log in
  • Submit a plugin
  • My favorites
  • Log in

Easy Secure Login – Google One Tap & Sign-In

ateeqdev-(r)en eskutik
Deskargatu
  • Xehetasunak
  • Berrikuspenak
  • Instalazioa
  • Garapena
Laguntza

Deskripzioa

Easy Secure Login enhances your site’s security by integrating two powerful Google authentication methods: Google Sign-In and Google One Tap. It can optionally replace the standard WordPress password system entirely, offering a modern, passwordless login experience.

Born out of necessity after a real-world brute-force attack, this plugin was designed with the option to enforce a Google-only login policy. When that policy is enabled, Google authentication is restricted to verified accounts allowed by your user settings. It combines layered, Google-powered authentication safeguards with a modern interface, automatic user management, and a step-by-step setup wizard.

Key Features

  • Optional Passwordless Security: Ability to completely disable standard password logins, forcing all users to authenticate via Google’s secure OAuth 2.0.
  • Role-Based Redirects: Define custom landing pages for different user roles. Redirect subscribers to your homepage or a custom dashboard while keeping admins in wp-admin.
  • Google Sign-In Button: A clean, modern “Continue with Google” button on the default login page or any custom login page through a shortcode.
  • WooCommerce and Custom Login Pages: Add [easy_secure_login] to page content, a shortcode block, or a custom PHP template with echo do_shortcode('[easy_secure_login]');.
  • Optional One Tap on Custom Pages: Use [easy_secure_login one_tap="yes"] to show the button and request the Google One Tap prompt on a custom login page.
  • Google One Tap: Allows logged-in Google users to sign in instantly with a single click via a non-intrusive pop-up.
  • Complete User Management: Whitelist specific Google accounts and assign roles, or allow open registration for any Google user.
  • Google Profile Picture Sync: Automatically syncs and displays Google profile pictures as user avatars in WordPress.
  • Built-in Security Hardening:
    • Disable XML-RPC to prevent common attacks.
    • Disable the plugin and theme file editor.
    • Hide your WordPress version number.
    • Restrict REST API access to logged-in users.
    • Block direct access to sensitive core files.
  • User-Friendly Setup Wizard: A clean, multi-step guide to get your Google Cloud credentials configured in minutes.
  • Actively Maintained for the latest WordPress versions.

This plugin strengthens login security while improving the user experience.

External services

This plugin uses Google’s Identity Services to provide a secure authentication method (Google Sign-In and Google One Tap). To function, it connects to several Google APIs.

  • Service: Google Identity Services (accounts.google.com)
  • Purpose: This service is used to display the “Sign in with Google” button and the Google One Tap prompt. It handles the user authentication process directly in the user’s browser.
  • Data Sent: This plugin initiates the authentication flow, but user data (like email and password) is entered directly on Google’s domain, not through this plugin. The plugin only receives a secure authentication token from Google after a successful login.
  • Terms and Policies:

    • Google Terms of Service: https://policies.google.com/terms
    • Google Privacy Policy: https://policies.google.com/privacy
  • Service: Google OAuth & People APIs (oauth2.googleapis.com, www.googleapis.com)

  • Purpose: After a user authenticates, the plugin’s server sends the received authentication token/code to these Google APIs to verify its authenticity and retrieve basic user profile information (email, name, profile picture).
  • Data Sent: An authentication token/code provided by Google is sent from your server to Google’s servers for validation.
  • Terms and Policies:
    • Google APIs Terms of Service: https://developers.google.com/terms

Pantaila-argazkiak

Instalazioa

  1. Upload the plugin folder to /wp-content/plugins/ or install via Plugins → Add New in WordPress.
  2. Activate the plugin through the Plugins menu.
  3. Go to Easy Secure Login in the WordPress admin sidebar to launch the setup wizard.
  4. Follow the setup wizard:
    • Create a Google Cloud project and configure OAuth credentials.
    • Add the “Authorized redirect URIs” and “Authorized JavaScript origins” provided by the wizard to your Google project.
    • Enter your Google Client ID and Client Secret into the plugin settings.
    • Configure authorized users or enable public sign-ups with a default role.
    • Enable optional Google One Tap on your homepage.
    • Review and enable additional security enhancements.
  5. Test the login flow on your WordPress login page.

Custom Login Pages and WooCommerce

Add the following shortcode in page content or a Shortcode block:

[easy_secure_login]

To place the button in a PHP template, including a custom WooCommerce My Account login template, use:

<?php echo do_shortcode('[easy_secure_login]'); ?>

For example, place that line immediately after wc_get_template('myaccount/form-login-only.php'); in your custom template. The shortcode loads its own Google Sign-In script and styling, and it outputs nothing for users who are already logged in.

To also enable the Google One Tap prompt on that custom page, use:

<?php echo do_shortcode('[easy_secure_login one_tap="yes"]'); ?>

One Tap remains opt-in for shortcode pages, so adding the standard shortcode does not unexpectedly prompt visitors.

Exclude custom login pages containing this shortcode from full-page caches. Authentication state is unique to each browser and must not be served from a shared cached HTML response.

That’s it! Your site is now enhanced with Google’s secure authentication.

MEG

Does this completely replace WordPress password login?

You can choose. By default, the plugin adds Google Sign-In as an alternative to the standard password login. For maximum security, you can enable the “Disable Password Login” option in the plugin’s security settings. When enabled, all password-related functionality is disabled, including the login form, password reset, and standard registration forms. This protects you from brute-force and password-guessing attacks.

Can I allow only specific users?

Yes. In the “Users” step of the wizard, you can build a whitelist of authorized Google email addresses and assign a specific WordPress role to each.

What if I want to allow any Google user to register?

You can enable the “Allow New User Sign-Ups” option. Any user who authenticates with a Google account will have an account created for them with your chosen default role (Subscriber is recommended for safety).

How does Google One Tap work?

Google One Tap is automatically enabled on the login page. If a user is already signed into their Google account in their browser, a small pop-up will appear, allowing them to log in to your site with a single click, without ever leaving the page. You can also choose to enable this on your homepage.

What happens to existing WordPress users?

They can log in seamlessly using the Google account that matches their existing WordPress user email address. Their account will be linked automatically.

Is this plugin compatible with other login or security plugins?

Because it can completely replace the core WordPress authentication flow, it may conflict with other plugins that modify the login process (like other social logins, 2FA, or login page customizers) if you enable the “Disable Password Login” option. It is designed to be an all-in-one solution for login security.

Can I show the button on a custom or WooCommerce login page?

Yes. Add [easy_secure_login] to page content or a Shortcode block. In a PHP template, use <?php echo do_shortcode('[easy_secure_login]'); ?>. This works alongside custom WooCommerce login templates such as wc_get_template('myaccount/form-login-only.php');.

Can I enable Google One Tap on a custom login page?

Yes. Use [easy_secure_login one_tap="yes"] in page content, a Shortcode block, or do_shortcode() in your PHP template. This adds the Continue with Google button and enables the One Tap prompt for logged-out visitors on that page.

How secure is this?

The authentication process is handled by Google’s OAuth 2.0 servers. The plugin validates browser-bound, single-use state tokens, verifies requests server-side with Google, requires verified email addresses, sanitizes submitted data, and escapes rendered data. No software can guarantee complete security, so WordPress, this plugin, themes, and other plugins should always be kept updated.

Should a shortcode login page be cached?

No. Exclude pages containing [easy_secure_login] from full-page caching in caching plugins, CDNs, and reverse proxies. Cached authentication markup can contain expired or browser-specific state and prevent a secure login.

Berrikuspenak

TOP

adreee 2025(e)ko abenduaren 28(a)
Best plugin
Irakurri 0 berrikuspenak

Laguntzaileak eta Garatzaileak

“Easy Secure Login – Google One Tap & Sign-In” software librea da. Ondoko pertsonek egin dizkiote ekarpenak plugin honi.

Laguntzaileak
  • ateeqdev
  • Ateeq

Easy Secure Login – Google One Tap & Sign-In 4 eskualde-ezarpenetara itzuli da. Eskerrik asko itzultzaileei beraien ekarpenengatik.

Itzul zaitez Easy Secure Login – Google One Tap & Sign-In zure hizkuntzara.

Garapena interesatzen zaizu?

Araka kodea, begiratu SVN biltegia edo harpidetu garapen erregistrora RSS bidez.

Aldaketen loga

2.2.6

  • New Feature: Added the one_tap="yes" shortcode option for enabling Google One Tap on custom and WooCommerce login pages.
  • Security: Require a matching browser cookie and single-use server state for both OAuth and One Tap callbacks, reject unverified Google email addresses, prevent forged state preparation requests, and enforce non-privileged roles for public registration.
  • Compliance: Removed unsolicited public-facing credits and crawlable promotional links in accordance with WordPress.org plugin guidelines.

2.2.5

  • New Feature: Added the [easy_secure_login] shortcode for custom login pages and PHP templates.
  • Compatibility: Added support for displaying the Google Sign-In button alongside custom WooCommerce My Account login templates.
  • Enhancement: Updated frontend asset loading and CSRF state preparation so shortcode-based Google authentication works outside the default WordPress login page.

2.2.4

  • Fix: Made the full “Continue with Google” OAuth button flow more reliable when browsers do not return the temporary state cookie after Google’s redirect.

2.2.3

  • Fix: Added clearer setup wizard save failure notices when Google OAuth credentials fail validation.
  • Fix: Improved setup wizard redirects so failed saves stay on the current step and successful saves advance only after WordPress processes the settings update.

2.2.2

  • Fix: Improved setup wizard saves so each step reliably persists the intended settings before continuing.
  • Fix: Ensured the Google login page always receives the required CSRF state token before initiating sign-in.
  • Compatibility: Tested with WordPress 7.0.

2.2.1

  • Fix: Resolved a persistent Google OAuth setup notice showing even when valid credentials were already configured.
  • Maintenance: Confirmed removal of development-only combined_contents.txt from distributable plugin files.

2.2.0

  • Improvement: Intermediary page on both button as well as one tap signup

2.1.9

  • Improvement: Removed the “Login Expereince by HardToSkip” footer from public facing pages

2.1.8

  • Improvement: Made the “Login Expereince by HardToSkip” footer non-sticky

2.1.7

  • Improvement: Only show the Login Expereince by HardToSkip on homepage

2.1.6

  • Hotfix: Added subdomain/external host whitelisting for custom login redirects. This fixes the issue where redirects to subdomains (like app.example.com) were being blocked by WordPress security filters.

2.1.5

  • New Feature: Added Role-Based Login Redirects. You can now configure custom landing pages (like the homepage) for specific user roles instead of the default /wp-admin redirect.
  • Enhancement: Improved settings sanitization for URL fields to ensure security while maintaining query parameter integrity.
  • Security: Enforced wp_safe_redirect for all login flows to prevent Open Redirect vulnerabilities.

2.1.4

  • Fatal Error Fix: Resolved a fatal error (Call to undefined function is_user_logged_in()) caused by the plugin loading before the WordPress core was fully initialized.
  • “Headers Already Sent” Fix: Eliminated PHP warnings by moving all cookie-setting operations to appropriate early-loading hooks (template_redirect and login_init), preventing conflicts with themes and other plugins.
  • Code Refactoring: Improved the reliability of the authentication flow by refactoring how the CSRF and OAuth state tokens are generated and handled.

2.1.3

  • Feature: Added an option to disable standard WordPress password-based authentication, allowing administrators to enforce a Google-only login policy for enhanced security.
  • Enhancement: The login page UI now adapts based on whether password login is disabled, ensuring a seamless user experience.
  • Enhancement: Updated plugin description and FAQ to reflect the new optional passwordless functionality.

2.1.2

  • Security: Hardened security by adding nonce verification to the login error display and One Tap callback handlers to prevent Cross-Site Request Forgery (CSRF) vulnerabilities.
  • Security: Implemented the recommended OAuth 2.0 state parameter validation during the standard Google Sign-In flow to protect against CSRF attacks.
  • Security: Improved data sanitization on the admin settings page to ensure redirect URLs are handled securely.
  • Fix: Corrected a bug where the “Please configure your Google OAuth credentials” admin notice would persist even after the plugin was fully configured.
  • Enhancement: Updated the readme.txt to include a comprehensive “External Services” section, clearly documenting the use of Google APIs as required by WordPress plugin guidelines.

2.1.1

Initial Release

Meta

  • Version 2.2.6
  • Azken eguneraketa duela 3 egun
  • Instalazio aktiboak 20+
  • WordPress bertsioa 5.0 edo handiagoa
  • 7.0.2 (e)raino probatuta.
  • PHP bertsioa 7.4 edo handiagoa
  • Hizkuntzak

    Czech, Dutch, English (US), Korean, eta Russian.

    Itzuli zure hizkuntzara

  • Etiketak
    Google Logingoogle one taplogin redirectpasswordless
  • Ikuspegi aurreratua

Balorazioak

5 out of 5 stars.
  • 1 5-star review 5 stars 1
  • 0 4-star reviews 4 stars 0
  • 0 3-star reviews 3 stars 0
  • 0 2-star reviews 2 stars 0
  • 0 1-star reviews 1 star 0

Your review

See all reviews

Laguntzaileak

  • ateeqdev
  • Ateeq

Laguntza

Azken bi hilabeteetan konpondutako gertakariak:

2(e)tik 0

Ikusi laguntza foroa

Egizu eskaintza

Plugin honen aurrerabidearen euskarri izan nahi duzu?

Egiozu eskaintza plugin honi

  • Honi buruz
  • Albisteak
  • Ostatatzea
  • Pribatutasuna
  • Erakusleihoa
  • Itxurak
  • Pluginak
  • Ereduak
  • Ikasi
  • Laguntza
  • Garatzaileak
  • WordPress.tv ↗
  • Parte hartu
  • Events
  • Dohaintza egin ↗
  • Etorkizunari bostekoa
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Euskara

  • Visit our X (formerly Twitter) account
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Bisitatu gure Facebook orrialdea
  • Visit our Instagram account
  • Visit our LinkedIn account
  • Visit our TikTok account
  • Visit our YouTube channel
  • Visit our Tumblr account
Kodea Poesia da
The WordPress® trademark is the intellectual property of the WordPress Foundation.