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

Unable to Log In #66

Open
SevenFeetUnderCreations opened this issue Feb 7, 2024 · 2 comments
Open

Unable to Log In #66

SevenFeetUnderCreations opened this issue Feb 7, 2024 · 2 comments
Assignees

Comments

@SevenFeetUnderCreations
Copy link

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
Copy link
Owner

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.

@yrccondor yrccondor self-assigned this Feb 22, 2024
@yrccondor
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants