跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

Secure Passkeys

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

Secure Passkeys

由 Mohamed Endisha 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

Secure Passkeys is a powerful WordPress plugin that enables seamless passwordless authentication using WebAuthn technology. By eliminating the need for traditional passwords, it enhances security and improves the user login experience. With support for biometric authentication, security keys, and device-bound credentials, Secure Passkey provides a robust and user-friendly solution for modern authentication.

Unlike traditional password-based authentication, Secure Passkey leverages cryptographic key pairs to ensure secure logins. The private key remains securely stored on the user’s device, while the public key is registered with the WordPress site. This method protects against phishing attacks and password breaches, ensuring that only authorized users can gain access.

Secure Passkeys integrates effortlessly into WordPress, allowing users to register and manage their passkeys from their profile settings. Once registered, users can log in using their fingerprint, face recognition, or a hardware security key without the need to remember or enter a password.

Features

  • Passwordless Login: Secure authentication via WebAuthn with biometric devices, security keys, Touch ID, Face ID, and more.
  • Enhanced User Experience: Password-free login for a smoother user journey.
  • Integration Support:
    • WordPress default login form
    • WooCommerce login page
    • MemberPress login form
    • Easy Digital Downloads login form
    • Ultimate Member login form
  • Admin Management: Administrators can delete, activate, or deactivate users directly from plugin settings or user profiles.
  • Passkeys Reminder Notice: New option to enable or disable the passkeys reminder notice in the WordPress admin area for users who have not yet enabled passkeys.
  • Activity Logging: Monitor activity logs and track last login/registration of passkeys.
  • Multiple Passkeys: Supports multiple passkey registrations per user, with the option to set a registration limit or allow unlimited registrations.
  • Role Restrictions: Restrict and exclude specific user roles from using passkey authentication.
  • Customizable Settings: Adjust timeout settings for passkey registration and login.
  • User Verification: Enforce user verification for enhanced security.
  • Frontend Customization: Easily customize frontend themes or add your own with basic frontend skills.
  • Theme Support: Supports pre-built themes like YOOtheme (UIkit) for frontend shortcodes.
  • Shortcodes: Embed passkey login and registration forms on custom frontend pages.
  • Passkey Display: Show passkey details in admin user lists and profiles.
  • Multisite: Supports WordPress Multisite and single-site installations.
  • Database Optimization: Option to allow or disallow automatic deletion of old challenge records and activity logs (configurable schedule).

Requirements

  • WordPress 6.0 or newer.
  • PHP version 7.4 or newer.

License

Secure Passkeys is licensed under the GNU General Public License v2 or later.

螢幕擷圖

  • Overview
  • Passkeys
  • Activity Log
  • General Settings
  • Display Settings
  • Advanced Settings
  • Admin Edit Profile and User Page
  • Admin Add New Passkey
  • Login

安裝方式

Minimum Requirements

  • PHP 7.4 or greater is recommended
  • MySQL 5.6 or greater is recommended

Automatic installation

Automatic installation is the easiest option — WordPress will handles the file transfer, and you won’t need to leave your web browser. To do an automatic install of Secure Passkeys, log in to your WordPress dashboard, navigate to the Plugins menu, and click “Add New.”

In the search field type “Secure Passkeys” then click “Search Plugins.” Once you’ve found us, you can view details about it such as the point release, rating, and description. Most importantly of course, you can install it by! Click “Install Now,” and WordPress will take it from there.

Manual installation

Manual installation method requires downloading the Secure Passkeys plugin and uploading it to your web server via your favorite FTP application. The WordPress codex contains instructions on how to do this here.

常見問題集

How do I enable and configure the Secure Passkeys?

After activating the plugin, a “Secure Passkeys” menu item will appear in your WordPress admin dashboard’s sidebar.

How can I add a new theme for frontend shortcodes?

You can add a custom theme for frontend shortcodes using the secure_passkeys_themes and secure_passkeys_themes_paths filters.

Register the Theme: Use the secure_passkeys_themes filter to register your new theme and make it available in the plugin settings.

<?php

add_filter('secure_passkeys_themes', function ($themes)
{
    $themes['new_theme'] = 'New Theme';
    return $themes;
}, 10, 1);

Specify the Theme Path: Use the secure_passkeys_themes_paths filter to define the file path to your custom theme’s directory.

<?php

add_filter('secure_passkeys_themes_paths', function ($themes)
{
    $themes['new_theme'] = 'your/path/new/theme/folder';
    return $themes;
}, 10, 1);

Override Template Files: Copy the template files you wish to customize from secure-passkeys/src/views/frontend/default/ to your custom theme’s folder (your/path/to/new/theme/folder). Any files not copied to your custom theme folder will be loaded from the plugin’s default theme, providing a fallback mechanism. This allows you to customize only the files you need to change.

How can I redirect users to a custom page after they log in using a passkey?

Yes, you can redirect users after a passkey login by using the secure_passkeys_login_redirect_url filter. You can add the following code snippets to your theme’s functions.php file.

Example – Redirect to a Specific URL:

This example redirects all users to a specific URL after they log in.

<?php

add_filter('secure_passkeys_login_redirect_url', function ($redirect_to) {
    // Redirect users to a custom URL after logging in with a passkey
    return 'https://your-domain.com/your-custom-path';
});

Example – Redirect Based on User Role:

This example redirects users based on their assigned role.

<?php

add_filter('secure_passkeys_login_redirect_url', function ($redirect_to) {
    $user = wp_get_current_user();

    // Redirect administrators to the WP admin dashboard
    if (in_array('administrator', $user->roles)) {
        return admin_url();
    }

    // Redirect subscribers to a custom dashboard page
    if (in_array('subscriber', $user->roles)) {
        return home_url('/dashboard');
    }

    // Default fallback URL
    return $redirect_to;
});

Are there other filters and actions?

Yes! The plugin offers a variety of filters and actions that allow developers to customize and extend its functionality. If you’re a developer, we encourage you to explore these hooks and tailor the plugin to meet your specific needs.

For a complete list of available hooks and examples, refer to the plugin’s codebase.

使用者評論

Fantastic plugin

primerpizza 2026 年 2 月 6 日
Look no further, this is the best passkey plugin. Kudos to the developer.

Best Passkey plugin

ingoratsdorf 2026 年 1 月 31 日
I tested a few. The next best contender needs a PHP module that’s not available everywhere, and it stopped working when I upgraded the PHP version to 8.4.THIS plugin just works like a charm in any shared environment. Works also in combination with the Automattic Two-Factor plugin. So you get the best of both worlds. The developer is very responsive and helpful. All open source, hosted on GitHub. This plugin is now on all my websites.Keep up the good work Mohamed.

Register ok / Login not ok

c00kiekiller 2026 年 1 月 26 日 1 則留言
No function given during login.Passkey can be registered successfully (Windows Hello fingerprint).But the login itself fails.Error message:Authentication with passkey failed. Please try again if you want to continue.Authentifizierung mit Passkey fehlgeschlagen. Bitte versuche es erneut, wenn du fortfahren möchtest.

Solid 5 even with minor issues

martinfors 2025 年 12 月 2 日 3 則留言
Just what I needed when I wanted to create my own plugin. However, it has a few bugs and minor good-to-haves: If I only activate it on one of the sites in a MultiSite, it does not work because it relies on the base prefix to be accessed. If I activate notifications for users, it does not notify on each subdomain in a MultiSite. Since passkeys are unique for each domain/subdomain this should be fixed. The error, notice and button in the login form should be formated as native WP tags. I would have prefered to hide the settings under Settings in the menu. That is where it belongs. Still, I will have this as one of the few default external plugins to use for now.

Amazing Plugin!

looneytoons20 2025 年 11 月 22 日 1 則留言
This plugin is amazing and I have nothing but thanks for you! My only concern is if i install and use this long term, how long do you plan on supporting this plugin? This plugin is amazing I’m just scared that if I install it and a year down the road you decide to drop it, i have to remove the feature from the site and users that will by then use it.

Perfect solution

vzsi 2025 年 10 月 3 日
Big THANKS!
閱讀全部 18 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Secure Passkeys〉的開發相關工作。

參與者
  • Mohamed Endisha

〈Secure Passkeys〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Secure Passkeys〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.2.5 2026-04-24

  • Add – Added support for Sherlocked authenticator with its AAGUID.
  • Add – Added support for Sticky Password Manager authenticator with its AAGUID.
  • Add – Added support for Passwall authenticator with its AAGUID.
  • Add – Added support for Burp Suite Navigation Recorder authenticator with its AAGUID.
  • Fix – Fixed an issue where 180 and 365 days could not be saved as cleanup periods.

1.2.4 2026-01-30

  • Add – Added support for Heimlane Vault authenticator with its AAGUID.
  • Fix – Resolved compatibility issues where 2FA plugins would block passkey login.

1.2.3 2025-12-03

  • Add – Added support for AliasVault authenticator with its AAGUID.
  • Tweak – Updated iCloud Keychain entry to Apple Passwords with new icon.

1.2.2 2025-09-17

  • Security – Enhanced permission checks for administrative functions to prevent potential unauthorized access.
  • Add – Added support for initial authenticator with its AAGUID.
  • Fix – Resolved multiple PHP notices by correcting the improper use of wpdb::prepare() on static database queries.
  • Tweak – Corrected a typo in the plugin description for proper grammar.

1.2.1 2025-08-21

  • Add – Updated Microsoft Password Manager AAGUID icon.
  • Add – Added Chromium Browser AAGUID icon (previously had no icon).
  • Fix – Fixed “You are not authorized to make this request” error caused by missing or empty HTTP_REFERER.

1.2.0 2025-08-10

  • Add – Added option to enable/disable passkeys reminder notice in WordPress admin for users without passkeys enabled.
  • Add – Added support for Microsoft Password Manager authenticator with its AAGUID.
  • Tweak – Changed excluded roles selection from multiple select dropdown to individual checkboxes for better usability.
  • Fix – Improved autoloader class file path handling for better compatibility across different operating systems and environments.

1.1.0 2025-08-04

  • Add – Added support for the Ultimate Member plugin.
  • Add – Added an option to automatically generate security key name for new passkeys, so users are no longer required to enter one manually.
  • Add – Added an option to disable the logging of user activity.
  • Tweak – Added extra_wrapper_classes and extra_button_classes attributes to the [secure_passkeys_login_form] shortcode for easier CSS customization.
  • Fix – Corrected an issue where the used_at timestamp for a challenge was not being updated correctly in the database.
  • Fix – Removed the Accept-Encoding header from the fingerprint calculation to prevent potential validation errors.
  • Fix – Improved localization by removing HTML from translatable strings, ensuring they can be translated properly.
  • Fix – Resolved a PHP warning on the “Activity Log” caused by an attempt to process a non-existent is_active property on log records.

1.0.0 2025-03-05

  • Initial release.

中繼資料

  • 版本 1.2.5
  • 最後更新 6 天前
  • 啟用安裝數 1,000+
  • WordPress 版本需求 6.0 或更新版本
  • 已測試相容的 WordPress 版本 6.9.4
  • PHP 版本需求 7.4 或更新版本
  • 語言

    English (US)、French (France)、及 German.

    將這個外掛本地化為你的母語版本

  • 標籤
    loginpasskeyspasswordlesssecurewebauthn
  • 進階檢視

評分

4.8 星,滿分為 5 星
  • 17 個 5 星使用者評論 5 星 17
  • 0 個 4 星使用者評論 4 星 0
  • 0 個 3 星使用者評論 3 星 0
  • 0 個 2 星使用者評論 2 星 0
  • 1 個 1 星使用者評論 1 星 1

Your review

查看全部使用者評論

參與者

  • Mohamed Endisha

技術支援

最近 2 個月解決的問題:

總計 4 個問題,已解決 1 個

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Taiwan 正體中文

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩
The WordPress® trademark is the intellectual property of the WordPress Foundation.