
內容簡介
Authentry 是一款無密碼登入的 WordPress 外掛,透過 Face ID、指紋、Touch ID 和 Windows Hello 提供快速、安全的登入體驗。使用者只需輕觸或瞥一眼,即可輕鬆進入網站,無需記住密碼或用戶名。
【主要功能】
• 零密碼登入:透過指紋或攝影機瞬間登入
• 完整生物識別支援:支援 Face ID、Touch ID 等
• 無需用戶名登入:自動發現使用者的通行密鑰
• 符合 FIDO2 / WebAuthn 標準:遵循 W3C 規範
• 完整 WooCommerce 整合:登入和註冊表單的通行密鑰按鈕
• 使用者資料管理:從 WP Admin 管理通行密鑰
外掛標籤
開發者團隊
② 後台搜尋「Authentry – Face ID, Fingerprint & Passkey Login」→ 直接安裝(推薦)
原文外掛簡介
Passkey login for WordPress and WooCommerce. Passwordless sign-in with Face ID, fingerprint, Touch ID, Windows Hello, and security keys.
🔐 Passkey Login for WordPress and WooCommerce
Authentry adds passkey login (passwordless login) to WordPress and WooCommerce. Customers, members, and admins sign in with Face ID, Touch ID, fingerprint, Windows Hello, or a hardware security key such as YubiKey. One tap or one glance, and they’re in.
No passwords to type or reset, and nothing to phish. Passkeys are built on the WebAuthn / FIDO2 standard, the same technology Google, Apple, and Microsoft use for their own accounts. Authentry brings that security to any WordPress site, completely free, with no Pro version and no locked features.
👆 Biometric Login Your Users Already Know
Your users unlock their phones with a fingerprint or Face ID dozens of times a day. With Authentry, signing in to your site works the same way:
The user taps Sign in with Passkey.
They confirm with Face ID, Touch ID, Android fingerprint, Windows Hello, or a security key.
They’re signed in and redirected where you choose.
With usernameless login on, they don’t even type their email. The browser shows their saved passkey and signs them in.
💡 Perfect for: WooCommerce stores, membership and subscription sites, LMS and community sites, and admins who want a faster, more secure wp-admin login.
🛒 Faster WooCommerce Login
Returning customers who forget their password often abandon their cart. Authentry adds a passkey button to the WooCommerce My Account login and registration forms, lets new customers create a passkey while they register, and adds a Security Keys tab (or a section in Account details) where customers manage their passkeys.
🛡️ Secure by Design
Phishing-resistant: a passkey only works on the site it was created for, so fake login pages can’t steal it.
No shared secrets: only the public key is stored on your server. The private key never leaves the user’s device.
Replay protection: single-use challenges bound to the visitor’s browser, plus strict signature counter checks.
Respects your security plugins: lockouts, banned users, and accounts pending approval from other plugins still apply to passkey logins.
Account privacy: by default, sign-in errors never reveal whether a username or email exists.
Rate limiting per endpoint and visitor IP, with correct IP detection behind Cloudflare and trusted proxies.
✨ Key Features
🚫 Passwordless login: tap a fingerprint or glance at the camera to sign in instantly
👆 Biometric authentication: Face ID, Touch ID, Android fingerprint, and Windows Hello
🔑 Hardware security keys: YubiKey, Google Titan, and any FIDO2 key
👤 Usernameless sign-in: discoverable passkeys let users skip typing their email, with an automatic fallback for older devices
🛒 WooCommerce integration: passkey buttons on login and registration forms, plus passkey management in My Account
⚙️ Passkey management: users view, rename, and delete passkeys from their WP Admin profile, WooCommerce My Account, or any page with [authentry_manage]
👮 Admin control: administrators can review, rename, and remove passkeys on any user’s profile, and require a PIN or biometric check (user verification)
🤝 Works with 2FA plugins: a passkey login satisfies Two Factor and WP 2FA (configurable)
📌 Three shortcodes: [authentry_button] to sign in, [authentry_register] to add a passkey, [authentry_manage] for the full management UI
🔔 Passkey reminders: optionally remind users without a passkey to add one, in wp-admin and WooCommerce
🛡️ FIDO2 / WebAuthn compliant: follows the W3C WebAuthn Level 2 specification, with ES256 and RS256 support
🧰 Developer-friendly: actions, filters, REST API, and a window.Authentry JavaScript API
🎨 Tabbed settings page: General, Appearance, Security, Advanced, and Integration
🌙 Dark mode support out of the box
🌍 Translation-ready: every string can be translated
🪶 Lightweight: no external services, no tracking, no build tools, and nothing loaded from third-party servers
🌐 Supported Browsers
Chrome 67+ (desktop and Android)
Safari 16+ (macOS and iOS)
Firefox 60+
Microsoft Edge 18+
Samsung Internet 9.0+
📋 Shortcode Reference
Sign-In Button (guests)
[authentry_button label="Sign in with Passkey" style="default" redirect="" class=""]
Add a Passkey (logged-in users only)
[authentry_register label="Add a passkey" style="default" class="" reload="1"]
Omit label to use the value set in Appearance settings. Set reload="0" to stay on the page after a successful registration.
Full Passkey Management UI (logged-in users only)
[authentry_manage class="" title=""]
Lists all passkeys with rename, delete, and add controls, the same UI shown in WooCommerce My Account and the WP Admin profile page. Scripts load automatically.
Shortcode Attributes – [authentry_button]
label: button text (default: from Appearance settings)
style: default, outline, or ghost
redirect: URL to send the user after a successful login
class: additional CSS class names
Shortcode Attributes – [authentry_register]
label: button text (default: from Appearance settings)
style: default, outline, or ghost
class: extra CSS class on the wrapper
reload: 1 (default) reloads the page after registration; 0, false, or no stays on the current page
Shortcode Attributes – [authentry_manage]
class: extra CSS class on the wrapper
title: optional section heading (default: “Security Keys”; also filterable via authentry_manage_heading)
🔧 Custom Login Pages
Already have a custom login page? No problem. Just drop the Authentry button in and keep your existing form. No need to rebuild anything.
✅ Recommended: Shortcode
Edit your custom login page
Add a Shortcode block:
[authentry_button]
Optionally, pass attributes:
[authentry_button label=”Sign in with Passkey” redirect=”https://yoursite.com/my-account/” style=”outline”]
Authentry automatically enqueues its CSS and JavaScript on standard front-end pages. No extra setup needed.
Alternative: PHP Template
In your login template file:
do_action( 'authentry_render_button', [ 'redirect' => home_url( '/my-account/' ) ] );
Any missing keys fall back to your Authentry > Appearance and General settings.
Username / Email Field (non-usernameless flow)
When usernameless login is off, or when a browser falls back from discovery mode, Authentry looks for a username or email field using these selectors:
#user_login (WordPress default)
input[name="username"]
input[name="email"]
If the field is already filled when the user clicks the button, that value is sent automatically. If it’s empty, the user is prompted. With usernameless login on, users can often sign in without typing anything at all.
Let Users Manage Their Passkeys
On any member dashboard or account page (logged-in users), add the full management UI:
[authentry_manage]
Or just the “Add a passkey” button with no list:
[authentry_register]
In a theme template:
do_action( 'authentry_render_manage', [ 'title' => 'Security Keys' ] );
Page Builders & Late-Rendered Output
If the button is printed after wp_enqueue_scripts, for example in some page builders or AJAX-loaded forms, fire this hook once before output:
do_action( 'authentry_enqueue_public_assets' );
The [authentry_register] and [authentry_manage] shortcodes handle this automatically. Use the same hook in custom templates if styles or scripts appear to be missing.
Redirects & Customization
Per-button redirect: redirect attribute on [authentry_button], or the redirect key in authentry_render_button
Global redirect: Authentry > General > Redirect URL after login, or the authentry_redirect_url filter
Button HTML: authentry_button_html filter
For Developers
See Authentry > Integration in the admin for the full reference of shortcodes, actions, filters, and REST API endpoints (/wp-json/authentry/v1/...). The global window.Authentry object is also available for advanced JavaScript integrations.
Hook-Only Example (theme login template)
Step 1 – In your login markup:
do_action( 'authentry_render_button', [ 'context' => 'my-theme-login' ] );
Step 2 – In functions.php or your login class:
add_filter( 'authentry_login_username_selectors', function( $selectors ) {
$selectors[] = '#my-login-email';
return $selectors;
} );
add_filter( 'authentry_redirect_url', function( $url, $user ) {
return home_url( '/account/' );
}, 10, 2 );
🧑💻 Developer Hooks
Actions – Render UI in Theme Templates
do_action( 'authentry_render_button', $args );
do_action( 'authentry_render_manage', [ 'class' => '', 'title' => '' ] );
do_action( 'authentry_render_passkey_reminder', [ 'context' => 'member-dashboard' ] );
Filters
authentry_creation_options: modify WebAuthn credential creation options
authentry_request_options: modify WebAuthn authentication request options
authentry_redirect_url: modify the post-login redirect URL
authentry_button_html: modify the rendered login button HTML
authentry_register_shortcode_html: modify the rendered [authentry_register] HTML
authentry_manage_shortcode_html: modify the rendered [authentry_manage] HTML
authentry_manage_heading: modify the section heading on the management UI
authentry_render_manage_args: adjust args before authentry_render_manage output
authentry_render_button_args: adjust args before authentry_render_button output
authentry_login_username_selectors: CSS selectors for username/email fields on custom login forms
authentry_user_has_passkey: filter whether a user has at least one registered passkey
authentry_show_passkey_reminder: control the built-in passkey setup reminder notice
authentry_passkey_reminder_profile_url: change the profile URL linked from the built-in reminder
authentry_authenticate_user: extra login policy after a valid passkey assertion (WP_User or WP_Error)
authentry_passkey_satisfies_2fa: whether a passkey login satisfies compatible 2FA plugins (default true)
authentry_client_ip: override the resolved client IP used for rate limiting
authentry_rate_limit: adjust rate-limit max / window per bucket
authentry_allowed_origins: exact-match list of allowed WebAuthn origins
authentry_can_manage_user_passkeys: whether the current user may manage another user’s passkeys
authentry_debug_log: enable or disable gated debug logging (authentry_log)
User meta
authentry_has_passkey: 1 when the user has at least one passkey, otherwise 0 (kept in sync automatically)
Helper function
authentry_user_has_passkey( $user_id = 0 ): returns true when the user has registered at least one passkey
authentry_render_passkey_reminder( $args ): echo the built-in reminder in a custom template or panel
authentry_get_passkey_reminder_html( $args ): return the reminder HTML as a string
authentry_log( $message, $context = [] ): gated debug log helper (no secrets)
Actions
authentry_enqueue_public_assets: enqueue public CSS/JS (useful when output is built late)
authentry_before_manage_passkeys / authentry_after_manage_passkeys: fires before/after the management UI block
authentry_before_render_login_button: fires before sign-in button HTML is echoed in custom templates
authentry_after_render_login_button: fires after sign-in button HTML is echoed in custom templates
authentry_passkey_registered: after a credential is stored ($credential_db_id, $user_id, $info)
authentry_passkey_renamed: after a rename ($credential_db_id, $user_id, $new_name, $actor_id)
authentry_passkey_deleted: after a delete ($credential_db_id, $user_id, $actor_id)
authentry_login_success: after a successful passkey login ($user, $credential_db_id)
authentry_login_failed: when a passkey login attempt fails ($reason_code, $user_id, $context)
authentry_rate_limited: when a client hits a rate limit ($bucket, $ip)
