Unable to Log In
Opened this issue · 2 comments
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
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.
Hi SevenFeetUnderCreations,
Sorry for the long delay. Just got some time investigating this problem, but unfortunatly it turned out that jetpack doesn't offer any ability for other developers to bypass the math captcha validation when logging in. That means, to make things work, you need to disable the whole jetpack math captcha feature. WP-Webauthn won't do this for users (since this is way far beyond what this plugin should do), but according to this doc, you can simplely add
add_filter( 'jpp_use_captcha_when_blocked', '__return_false' );
to your functions.php
to disable the math captcha feature. Hope this helps