Advanced Passkeys for Secure Login

Advanced Passkeys for Secure Login

توسط

Passwords are the single biggest security risk for your WordPress site. They get leaked, reused, or broken by automated brute-force attacks. Standard Two-Factor Authentication (2FA) adds safety, but typing in temporary codes from SMS or authenticator apps introduces annoying friction to your daily workflow.

Advanced Passkeys for Secure Login brings the future of un-phishable, modern authentication directly to your WordPress site using the official FIDO2 / WebAuthn standard.

Users register a passkey just once using their device’s built-in biometric sensor (Face ID, Touch ID, Windows Hello) or a hardware security key (like a YubiKey). Future sign-ins take less than a second—completely bypassing the traditional password field.

Why Switch to Passkeys?

  • Immune to Phishing: Passkeys are cryptographically bound to your specific domain. A fake login page cannot trick or steal a passkey.
  • Goodbye Brute-Force: Because there is no static password on the server to guess, automated bot attacks are completely neutralized.
  • Ultimate Ecosystem Sync: Works seamlessly with iCloud Keychain, Google Password Manager, and 1Password for painless cross-device access.

Ecosystem-Wide Integrations Included

Unlike basic alternatives, this plugin features intelligent, dependency-aware integration modules that automatically inject passkey entry points into your favorite plugins. It features out-of-the-box support for WooCommerce, Easy Digital Downloads, MemberPress, Ultimate Member, LearnDash, BuddyBoss, Gravity Forms, and PMPro.

Features

  • One-Click Passwordless Auth: Adds a native “Sign in with Passkey” button directly to the WordPress login screen.
  • Ecosystem Integrations: Built-in aware modules, blocks, and shortcodes for WooCommerce, MemberPress, LearnDash, BuddyBoss, and more.
  • Gutenberg Blocks & Shortcodes: Automatically registers custom login cards and shortcodes based on active plugins.
  • Admin Dashboard Overview: Keep track of credential performance with an Authenticator Overview card and Last Login activity logs.
  • Granular Role Controls: Easily configure exactly which user roles are permitted to use passkey authentication (Default: Administrators).
  • Brute-Force Rate Limiting: Hardened local security with built-in login rate-limiting and automated daily log cleanups.
  • Multisite Compatible: Network-aware provisioning instantly configures security settings for newly created network sites.
  • Clean Performance & Housekeeping: Lightweight footprint with a clean uninstall routine that leaves zero orphaned tables or options behind.

Developer Hooks: Last Used Pill

Developers can use these filters inside a theme or functionality plugin to globally customize or suppress the login form’s Last used passkey indicator pill.

Available filters

  • advapafo_last_used_pill_freshness_days — default 90 days
  • advapafo_last_used_pill_visible — final on/off override
  • advapafo_last_used_pill_label — customize label text

Example implementation

<?php
/**
 * Example customization for Last used login pill.
 */

// Show pill if passkey login is within 120 days.
add_filter( 'advapafo_last_used_pill_freshness_days', function ( $days, $user ) {
    unset( $user );
    return 120;
}, 10, 2 );

// Hide pill for administrator accounts.
add_filter( 'advapafo_last_used_pill_visible', function ( $visible, $timestamp, $freshness_days, $user ) {
    unset( $timestamp, $freshness_days );

    if ( $user instanceof WP_User && in_array( 'administrator', (array) $user->roles, true ) ) {
        return false;
    }

    return $visible;
}, 10, 4 );

// Label override.
add_filter( 'advapafo_last_used_pill_label', function ( $label, $user ) {
    unset( $user );
    return 'Previously used';
}, 10, 2 );

Automatic installation

  1. In your WordPress admin, go to Plugins > Add New
  2. Search for Advanced Passkeys for Secure Login
  3. Click Install Now then Activate
  4. Go to Settings > Advanced Passkeys for Secure Login and enable passkeys

Manual installation

  1. Download the plugin ZIP from WordPress.org
  2. Go to Plugins > Add New > Upload Plugin and upload the ZIP
  3. Click Activate
  4. Go to Settings > Advanced Passkeys for Secure Login and enable passkeys

After activation

  1. Go to Settings > Advanced Passkeys for Secure Login — verify passkeys are enabled and select which roles may use them.
  2. Visit Users > Your Profile and register your first passkey.
  3. Sign out and confirm the Sign in with Passkey button appears on the login page.
  4. Register a backup passkey on a second device to avoid lockout.

Production & Local Environments

Passkeys require a secure (HTTPS) connection context. The plugin will actively block passkey flows over plain HTTP in production.
If you are testing locally without an SSL certificate, you can bypass this restriction by adding the following line to your wp-config.php file:

define( 'ADVAPAFO_ALLOW_HTTP', true ); (*Never use this in production!*)

سوالات متداول

Does this replace passwords entirely?

No. Passkeys act as a seamless, high-security alternative sign-in method. Users retain their standard WordPress passwords as a reliable fallback.

Which browsers and devices are supported?

Any browser supporting the WebAuthn standard (all major platforms since 2022) including Chrome, Safari, Firefox, and Edge. Supported hardware includes iPhones, iPads, Macs, Android devices, Windows Hello machines, and physical FIDO2/U2F security keys like YubiKeys.

Is HTTPS required?

Yes, in production environments. The official WebAuthn specification mandates a secure context. See the local development instructions in the Installation tab to test locally via HTTP.

What PHP extensions do I need?

The plugin relies on openssl, mbstring, and json. These core extensions are compiled by default on almost every modern managed WordPress host.

Can I control which user roles can use passkeys?

Yes. Navigate to Settings > Advanced Passkeys for Secure Login > Eligible Roles. While it defaults strictly to Administrators, you can provision passkeys for any core or custom role on your site.

Which shortcodes are available?

Core shortcodes:
* [advapafo_login_button]
* [advapafo_register_button]
* [advapafo_passkey_profile]
* [advapafo_passkey_prompt]

Integration-specific shortcodes: (active when corresponding plugins are running)
* [advapafo_woocommerce_login]
* [advapafo_edd_login]
* [advapafo_memberpress_login]
* [advapafo_ultimate_member_login]
* [advapafo_learndash_login]
* [advapafo_buddyboss_login]
* [advapafo_gravityforms_login]
* [advapafo_pmp_login]

Which integration Gutenberg blocks are available?

When an integration dependency is active, the plugin registers matching blocks:
* advanced-passkey-login/woocommerce-login-card
* advanced-passkey-login/edd-login-card
* advanced-passkey-login/memberpress-login-card
* advanced-passkey-login/ultimate-member-login-card
* advanced-passkey-login/learndash-login-card
* advanced-passkey-login/buddyboss-login-card
* advanced-passkey-login/gravityforms-login-card
* advanced-passkey-login/pmp-login-card

What happens if I deactivate or delete the plugin?

Deactivating keeps your data safe. Deleting (uninstalling) triggers a strict housekeeping routine that cleanly drops the wp_wpk_credentials, wp_wpk_rate_limits, and wp_wpk_logs tables alongside all advapafo_* options.

Is the plugin multisite compatible?

Yes. Database tables partition dynamically per site via $wpdb->prefix. Network activation auto-provisions existing sites and seamlessly configures any newly deployed network sites.

Can I use a custom RP ID for subdomain setups?

Yes. Simply add define( 'ADVAPAFO_RP_ID', 'example.com' ); directly into your site’s wp-config.php file.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
هیچ نسخه‌ای برای این آیتم موجود نیست.
بدون امتیاز

قیمت:

رایگان

نگارش

آخرین انتشار

21 خرداد 1405

آخرین بروزرسانی

2 ماه پیش

نصب های فعال

-

نگارش وردپرس

وردپرس 6.0+

تست شده از نسخه

وردپرس 7.0

نگارش PHP

PHP 8.0+

نسخه ها

0 نسخه