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

Unable to Log In #66

Open SevenFeetUnderCreations opened 4 months ago

SevenFeetUnderCreations commented 4 months ago

I see a few similar issues here, but none seem to have a resolution. The log shows that authentication was successful, but the result was a failure. I am able to verify authenticator successfully. Below is redacted log. I'm also attaching the network output from browser dev tools.

[2024-02-06 23:55:05][d17710] ajax_auth: Start [2024-02-06 23:55:05][d17710] ajax_auth: email_login => "true", trying to find user by email address "sevenfeetundercreations@gmail.com" [2024-02-06 23:55:05][d17710] ajax_auth: type => "auth", user => "sevenfeetunder@gmail.com" [2024-02-06 23:55:05][d17710] ajax_auth: allowedCredentials => [{"type":"public-key","id":[Redacted]},{"type":"public-key","id":[Redacted]}] [2024-02-06 23:55:05][d17710] ajax_auth: user_verification => "false" [2024-02-06 23:55:05][d17710] ajax_auth: Challenge sent [2024-02-06 23:55:08][3d75cb] ajax_auth_response: Client response received [2024-02-06 23:55:08][3d75cb] ajax_auth_response: type => "auth", user => "sevenfeetunder@gmail.com" [2024-02-06 23:55:08][3d75cb] ajax_auth_response: data => {"id":"pQKZFy4IQc66Dnk-GtgsAkeACusyTzf37f83UhQUlMA","type":"public-key","rawId":"[Redacted]","signature":[Redacted]}} [2024-02-06 23:55:08][3d75cb] ajax_auth_response: Challenge verified [2024-02-06 23:55:08][3d75cb] ajax_auth_response: Log in user => "sevenfeetunder@gmail.com" sevenfeetundercreations.com.json

yrccondor commented 4 months ago

Hi SevenFeetUnderCreations, Sorry for the delay and thank you for your detailed log. I've checked your log and I believe that's because the jetpack robot protection is trying to verify that you are human but WP-WebAuthn is not passing the required parameters to jetpack. I'll have a look into this asap. Most "Unable to login" issues are caused by plugin conflicts - for login plugins, that's an inevitable problem. Sorry for the issue.