跳至内容
WordPress.org

China 简体中文

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

Plugin Directory

AuthLatch

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

AuthLatch

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

描述

AuthLatch helps site owners replace routine password logins with secure passwordless access.

Key features:

  • One-time magic links requested by username or email, with expiry and one-use tokens.
  • Passkey login using WebAuthn/FIDO2.
  • Self-service AuthLatch sidebar page for selected user roles.
  • Users can add, revoke, and name their own passkeys.
  • Users can send a magic login link to their own account email.
  • Per-role passkey access and per-user passkey limits.
  • Branded responsive login screen with method tabs for magic links, passkeys, and password fallback.
  • Single active session control.
  • Admin-generated login links with optional IP binding and auto logout.
  • Admin-scoped login links that can block selected admin menus for that session.
  • Built-in SMTP settings for hosts where PHP mail delivery is disabled.
  • Audit log for important authentication events.
  • RTL-friendly login UI.

AuthLatch stores magic-link validators as hashes, verifies passkeys server-side, and uses WordPress capabilities, nonces, sanitization, and escaping throughout the admin interface.

Setup

Magic links

  1. Enable Magic links in AuthLatch > Settings.
  2. Set the default link expiry.
  3. Configure the email subject and body.
  4. Configure SMTP if the host disables PHP mail.
  5. Users can request a login link from the login page with either username or email.
  6. Enabled self-service roles can also send a login link from AuthLatch in the admin sidebar.

Passkeys

  1. Enable Passkeys in AuthLatch > Settings.
  2. Select the roles allowed to use passkeys.
  3. Set the maximum passkeys per user.
  4. Use HTTPS on the live site.
  5. Users with allowed roles can open AuthLatch in the admin sidebar and click Add passkey.
  6. Users can revoke old passkeys from the same page.

Self-service sidebar page

  1. Open AuthLatch > Settings.
  2. Select roles under Self-Service Page > Sidebar access roles.
  3. Only selected roles will see the AuthLatch sidebar page.
  4. The self-service page lets users manage their own passkeys and send a magic link to their own email.

Password fallback

  1. Keep Username/password login enabled if normal WordPress login should remain available.
  2. Keep admin password fallback enabled if administrators should still be able to log in with a password when password login is otherwise disabled.

SMTP

  1. Enable Use SMTP for WordPress emails.
  2. Enter host, port, encryption, username, password, from email, and from name.
  3. Save settings.
  4. Send a test email from AuthLatch > Settings.

Privacy

AuthLatch stores authentication-related records in the WordPress database, including hashed magic-link tokens, passkey public-key data, hashed IP values for audit and optional IP binding, and configuration settings. AuthLatch does not store plaintext magic-link validators. SMTP passwords are encrypted with WordPress salts before storage.

Third-Party Libraries

AuthLatch includes the MIT-licensed lbuchs/WebAuthn library for WebAuthn/FIDO2 server-side verification.

安装

  1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
  2. Activate AuthLatch.
  3. Open AuthLatch > Settings from the WordPress admin sidebar.
  4. Configure magic links, passkeys, self-service roles, branding, and SMTP if needed.
  5. Save settings.
  6. Send a test SMTP email before relying on email-only login.

常见问题

Does AuthLatch require a separate SMTP plugin?

No. AuthLatch includes SMTP settings and uses WordPress PHPMailer.

Does passkey login require HTTPS?

Yes. WebAuthn passkeys require a secure browser context, usually HTTPS. Localhost is generally allowed for development.

Where does a user add a passkey?

Allowed users can open AuthLatch from the WordPress admin sidebar and use Add passkey. Passkeys can also be managed from the WordPress profile page.

Can administrators keep password login as a fallback?

Yes. The settings include an administrator password fallback option.

Can users request magic links for their own account?

Yes. If their role is selected in Self-Service Page settings, users can open AuthLatch in the sidebar and send a login link to their account email.

Does AuthLatch send data to an external service?

AuthLatch does not send authentication data to an AuthLatch service. If SMTP is enabled, email is sent through the SMTP server configured by the site administrator.

评价

此插件暂无评价。

贡献者及开发者

「AuthLatch」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • Rayhan Sardar

帮助将「AuthLatch」翻译成简体中文。

对开发感兴趣吗?

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

更新日志

1.0.2

  • Updated compatibility metadata for WordPress 7.1.

1.0.1

  • Updated compatibility metadata for WordPress 7.0.

1.0.0

  • Initial WordPress submission release.
  • Added role-gated self-service AuthLatch sidebar page.
  • Added user-managed passkey registration and revocation from the sidebar.
  • Added user self-service magic-link email action.
  • Added plugin action link for settings.

额外信息

  • 版本 1.0.2
  • 最后更新:3 周前
  • 活跃安装数量 不到10
  • WordPress 版本 6.4 或更高版本
  • 已测试的最高版本为 7.1.1
  • PHP 版本 8.0 或更高版本
  • 语言
    English (US)
  • 标签
    magic linkpasskeypasswordless loginsmtpwebauthn
  • 高级视图

评级

尚未提交反馈。

您的评价

查看全部评论

贡献者

  • Rayhan Sardar

支持

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

查看支持论坛

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 周边商品 ↗
  • 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.