Linux 软件免费装
Banner图

Easy Secure Login - Google One Tap & Sign-In

开发者 hardtoskip
更新时间 2026年8月2日 18:35
捐献地址: 去捐款
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPL v2 or later
版权网址: 版权信息

标签

login redirect google login passwordless google sign in google one tap

下载

2.2.5 2.2.6 2.1.6 2.2.3 2.2.2 2.2.4 2.1.2 2.1.3 2.1.4 2.1.5 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1

详情介绍:

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

安装:

  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:
  5. Create a Google Cloud project and configure OAuth credentials.
  6. Add the "Authorized redirect URIs" and "Authorized JavaScript origins" provided by the wizard to your Google project.
  7. Enter your Google Client ID and Client Secret into the plugin settings.
  8. Configure authorized users or enable public sign-ups with a default role.
  9. Enable optional Google One Tap on your homepage.
  10. Review and enable additional security enhancements.
  11. 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.

常见问题:

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.

更新日志:

2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 2.2.1 2.2.0 2.1.9 2.1.8 2.1.7 2.1.6 2.1.5 2.1.4 2.1.3 2.1.2 2.1.1 Initial Release