10up / distributor

Share content between your websites.
https://distributorplugin.com
GNU General Public License v2.0
618 stars 156 forks source link

Authentication failed due to insufficient or invalid credentials. #1224

Closed abarrabes88 closed 1 month ago

abarrabes88 commented 1 month ago

Describe your question

Hello,

I am setting up an external connection but I am getting all time this error:

"Authentication failed due to insufficient or invalid credentials."

I tried to setting up using "Application Password" and also "User / Password"... but I am getting same error with both methods.

I also have installed distributor in the remote site.

image

image

image

I think I have everything configured correctly and I don't know where to look... can you help me? thank you so much!

Code of Conduct

jeffpaul commented 1 month ago

@abarrabes88 the most reliable flow, when connecting different WordPress instances (noting that you don't need to do this for sites within a network), is to use the connection wizard flow. That will effectively create an application password for the connected user. Using the Application Passwords plugin is no longer necessary or recommended and creating a general user password is also not recommended. In the examples you provided screenshots for, were any of those using the connection wizard flow?

abarrabes88 commented 1 month ago

Thanks for your help Jeff ,

Yes, in one of the examples (named SyncKarsWithUser) I do it like this.

I have done it again to show it the process I follow:

  1. Authentication Method: Username / Password and I fill External Site Url field: image

  2. Click on "Authorize Connection". It redirects me to remote site and I click in "Yes, I approve this connection" image

  3. It redirects me another time to the Main Site and I see the error I described above :( image

Thanks you very much!

abarrabes88 commented 1 month ago

Hello! Any idea what could happen????

abarrabes88 commented 1 month ago

Now is also giving this error: image

Obviously I have distributor in the remote site.

thanks

jeffpaul commented 1 month ago

@abarrabes88 perhaps there's some sort of firewall or authentication in front of that ignasic27.sg-host.com or more to the point of that error Distributor isn't installed on that site at all?

github-actions[bot] commented 1 month ago

It has been 7 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 7 days, but if you have more information to add then please comment and the issue will stay open.

github-actions[bot] commented 1 month ago

This issue has been automatically closed because there has been no response to our request for more information. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. See this blog post on bug reports and the importance of repro steps for more information about the kind of information that may be helpful.