I have created a new app on Zapier and need to set authentication. Authentication will be to a users own WordPress website, using a username and application password combo. I therefore need to capture the users own WordPress URL via an input field, as well as their username and application password.
Basic Auth works when I test but as I cannot define custom input fields, I can only authenticate against a pre-defined WordPress site - no good to me as users will have their own URL and website which they need to authenticate against.
Which authentication method is best for me to use and display the required input fields (URL, Username, Password)? And then how do I put the username and password entries into the header so that WordPress recognises them and authenticates?
Best answer by ikbelkirasanView original
Here’s a code snippet showing how to do so:
Works perfectly, thank you!