Giter Club home page Giter Club logo

Comments (5)

tlovett1 avatar tlovett1 commented on May 14, 2024

There is a way to pass basic auth via the url - https://username:[email protected]

I know Chrome is moving away from that method. There is another filter you can use here - https://github.com/10up/distributor/blob/master/includes/classes/Authentication.php#L40

from distributor.

goranseric avatar goranseric commented on May 14, 2024

Hi Taylor.
I am aware of what you have written above, but this is what I found to be a problem, https://github.com/10up/distributor/blob/master/includes/classes/Authentications/WordPressBasicAuth.php#L106.

HTTP Basic Auth header is sent by default and if I add correct one via the provided filter, I am getting limited connectivity and push unavailable notice as it overwrites the one containing admin account info from settings.

If I enter the connection URL in a format https://username:[email protected] I get "No connection found".
When HTTP Basic Auth info is added as admin/username combo the following notice is displayed:

Limited connection established. Authentication failed.
Push distribution unavailable.
Pull distribution limited to basic content, i.e. title and content body.

The only way I could get it working is after I have removed HTTP auth we had and added the Application Passwords.

from distributor.

tlovett1 avatar tlovett1 commented on May 14, 2024

Yep, you're right. We need a way to get around this. Adding this bug to our queue.

from distributor.

dhanendran avatar dhanendran commented on May 14, 2024

Does #368 solved this issue?

from distributor.

jeffpaul avatar jeffpaul commented on May 14, 2024

@dhanendran perhaps.

@goranseric have you updated to Distributor 1.6 or later (1.6.2 is current latest) and tried out the new External Connections setup flow to see if that resolves your issue?

from distributor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.