yrccondor / wp-webauthn

🔒 WP-WebAuthn allows you to safely login to your WordPress site without password.
https://wordpress.org/plugins/wp-webauthn
GNU General Public License v3.0
123 stars 16 forks source link

I moved my site to another server, webauth stopped working. #72

Open jenkisan opened 1 month ago

jenkisan commented 1 month ago

Worked fine for months. Changed server of wordpress site and now it doesn't work anymore. Is the "server" connected to the webauth verification? Do I need to reissue all new passkeys for all users and devices?

Thanks!

yrccondor commented 4 weeks ago

For the server side, webauthn is only related to domain. please make sure you are using exactly the same domain as before. if everything looks good, pls make sure you have all required php extensions installed and enable the debug log to see if there's anything went wrong.

jenkisan commented 4 weeks ago

Everything is exactly as the other sever. Domain, links, everything. (I ported site and I do this often so I have the process down pat). Everything works exactly as before except the QR code which I authenticate gives me failed.

Can I reinstall the plug in or does this cancel everything anyway?

jenkisan commented 3 weeks ago

Update: I deleted and resin tall the plugin. The issue with the failed auth when I moved had nothing to do with the move. Now when I try to register a user it says registration failed. Basically it stopped working.

What can I check, given the site is exactly the same except for the move to another server? wp ver 6.5.4

dthp-git commented 3 weeks ago

Hi, same here: totally stopped working on all our sites since last week. I'm trying to get some logs, on both wp 6.5.3 and 6.5.4

yrccondor commented 3 weeks ago

hi @jenkisan and @dthp-git could you please enable logging in wp-webauthen settings, perform the failing action to log the problem, and share the log here?

dthp-git commented 3 weeks ago

Hi, unfortunately, this is the only logs I get when with wp-webauthn logs activated and when I try to login :

[2024-06-14 06:30:23][d7b4c3] PHP Version => 8.2.20, WordPress Version => 6.5.4, WP-WebAuthn Version => 1.3.1 [2024-06-14 06:30:23][d7b4c3] Current config: first_choice => "true", website_name => "########.com", website_domain => "########.com", remember_me => "false", email_login => "false", user_verification => "false", allow_authenticator_type => "none", usernameless_login => "false", password_reset => "off", after_user_registration => "none" [2024-06-14 06:30:23][d7b4c3] Logger initialized

When I try to login, I just enter the user name. My U2F key doesn't flash anymore and I get the 'Auth Failed' message immediately.

dthp-git commented 2 days ago

Hi,I spent more time trying to figure out, I disabled every plugin but wp-webauthn and I can login with my passkeys. Now I'll try to get the plugin that prevents wp-webauthn to work.