-
Notifications
You must be signed in to change notification settings - Fork 153
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
External connection on site with HTTP Auth #79
Comments
There is a way to pass basic auth via the url - https://username:password@www.example.com 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 |
Hi Taylor. 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:password@www.example.com I get "No connection found".
The only way I could get it working is after I have removed HTTP auth we had and added the Application Passwords. |
Yep, you're right. We need a way to get around this. Adding this bug to our queue. |
Does #368 solved this issue? |
@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? |
Hi guys.
I am having trouble in establishing a valid connection with our staging sites.
All of them are behind Basic HTTP Auth, and it looks like at the moment there is no way around it except removing it and using the recommend Application Passwords plugin.
Is this authorization type permanent solution? It could be an issue for any site that is behind Basic HTTP Auth for any reason.
The text was updated successfully, but these errors were encountered: