跳至内容
WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

DigitaDive Login with Google One Tap

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

DigitaDive Login with Google One Tap

作者:Digitaldive
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

DigitaDive Login with Google One Tap adds a modern, monochrome Google sign-in experience to WordPress. It supports the One Tap prompt for logged-out visitors and a shortcode for placing the Google button anywhere.

Google is a trademark of Google LLC. This plugin is not affiliated with or endorsed by Google.

Features:

  • One Tap prompt across your site (optional)
  • Shortcode button: [ddgot_google_login]
  • Login button on WordPress/WooCommerce login and registration forms
  • New user creation controls and role assignment
  • Admin access restrictions for non-admin users
  • Google avatar support
  • Optional admin bar hiding for non-admin users
  • Optional email domain allowlist
  • Optional email allowlist and prompt exclusions
  • Optional failure logging and session-based prompt control

External Services

This plugin integrates with Google Identity Services (Google One Tap) to allow users to sign in with their Google account.

When the One Tap prompt or button is enabled, the user’s browser loads Google’s Identity Services JavaScript from https://accounts.google.com/gsi/client.

When a user signs in, the plugin sends the Google ID token to Google’s token verification endpoint at https://oauth2.googleapis.com/tokeninfo to validate the token before logging the user in.

Data sent includes the ID token and request metadata (such as IP address and user agent) required to complete these requests.

All plugin CSS/JS assets are bundled locally; the only external resources used are Google’s Identity Services script and the token verification endpoint described above.

Site owners must create a Google OAuth Client ID in Google Cloud Console to use this service, and end users need a Google account to sign in.

Terms of Service: https://developers.google.com/terms
Privacy Policy: https://policies.google.com/privacy

Privacy

This plugin does not store Google passwords. It creates or updates WordPress user accounts using the profile data returned in the ID token and stores the Google avatar URL if provided.

屏幕截图

Monochrome settings panel.
Monochrome settings panel.
Google One Tap button on the login form.
Google One Tap button on the login form.

安装

  1. Upload the plugin folder to /wp-content/plugins/ or install via the Plugins screen.
  2. Activate the plugin.
  3. Go to Settings > Google One Tap and paste your Google Client ID.
  4. Add the provided JavaScript origins to your Google Cloud Console.
  5. Use the shortcode where needed.

常见问题

Does this plugin store Google passwords?

No. Google handles authentication and returns an ID token. The plugin verifies that token and then signs users into WordPress.

Can I disable new account creation?

Yes. Enable “Disable New User Creation” to only allow existing users.

How do I change the redirect path?

Set the path in Settings > Google One Tap (e.g. /account/).

评价

此插件暂无评价。

贡献者及开发者

「DigitaDive Login with Google One Tap」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Digitaldive

帮助将「DigitaDive Login with Google One Tap」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

1.1.1

  • Update plugin branding for trademark clarity.
  • Document Google external services usage.

1.1.0

  • Fix REST login redirect handling after sign-in.

1.0.0

  • Initial release with modular architecture, monochrome admin UI, and security hardening.

额外信息

  • 版本 1.1.1
  • 最后更新:7 月前
  • 活跃安装数量 不到10
  • WordPress 版本 5.8 或更高版本
  • 已测试的最高版本为 6.9.6
  • PHP 版本 7.4 或更高版本
  • 语言
    English (US)
  • 标签
    googleloginoauthone tapsso
  • 高级视图

评级

尚未提交反馈。

Your review

查看全部评论

贡献者

  • Digitaldive

支持

有话要说吗?是否需要帮助?

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗
The WordPress® trademark is the intellectual property of the WordPress Foundation.