Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support WebAuthN plugin v2.5.1+ #323

Open
dd32 opened this issue Jan 28, 2025 · 0 comments
Open

Support WebAuthN plugin v2.5.1+ #323

dd32 opened this issue Jan 28, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@dd32
Copy link
Member

dd32 commented Jan 28, 2025

sjinks/wp-two-factor-provider-webauthn@c0198c8

Admin::is_webauthn_enabled() no longer returns truthful on 2.5.3, as the provider class isn't present within the provider list.

I'm not sure why, but in the quick testing:

var_dump(  \Two_Factor_Core::get_providers() );
array (size=2)
  'Two_Factor_Totp' => 
    object(WordPressdotorg\Two_Factor\Encrypted_Totp_Provider)[1389]
  'Two_Factor_Backup_Codes' => 
    object(Two_Factor_Backup_Codes)[1391]

This causes the 2FA interface to be broken as the XHR endpoints for the plugin aren't loaded.

@dd32 dd32 added the bug Something isn't working label Jan 28, 2025
@dd32 dd32 changed the title Support WebAuthN plugin v2.5.0+ Support WebAuthN plugin v2.5.1+ Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant