Hey @extremeleadprogramcom,
We don’t currently support generating application passwords. Can you please share a screenshot of your settings in Wordfence > Login Security > Settings? The service may need access to xml-rpc.php.
Thanks,
Gerroald
Here is the screenshot of that: https://tinyurl.com/ybpr7xk6
I don’t have XML-RPC authentication disabled but the 2FA for that is on, maybe I should try clicking “skipped” and see if it works ok then.
The documentation for the Woocommerce/Zapier plugin doesn’t say anything about using XML-RPC that I can tell.
Ok, I clicked “skipped” there and hit save and tried again. Get this error in Zapier when I try to connect even though I know the username/password is correct: “authentication failed: The username and/or password you supplied is incorrect.”.
I enabled the debug log for the Zapier/Woo plugin and this is what I see in the log:
2020-06-05T12:55:05+00:00 NOTICE Authentication attempt failed for user: xxxxxx (redacted)
2020-06-05T12:55:05+00:00 NOTICE Error Code: wfls_twofactor_required
2020-06-05T12:55:05+00:00 NOTICE Error Message: CODE REQUIRED: Please provide your 2FA code when prompted.
2
Maybe I will also open a support ticket with them to see what they say but any further help is greatly appreciated.
Hello @wfgerald , any further thoughts?
Hey @extremeleadprogramcom,
From the best I can tell (Please confirm with Zapier) you do need an application password, which we don’t currently support, but it is a current feature request and I’ll add a link to this ticket in the report so we can notify you of any progress.
Thanks,
Gerroald
@wfgerald
Hi Gerroald,
I had a similar issue and arrived here because Google only show 2 results for “wfls_twofactor_required
“, the source code and this thread.
I solved the 2FA and application password issues simply creating an editor user without 2FA and without app pw.
I had another problem setting a post author with Ajax that I solved with JS fetch
. I posted an answer on this question about Multisite, Wordfence and an error setting the post property “author”: https://wordpress.stackexchange.com/a/377721/12615
Regards,
Rodolfo