Skip to content
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

Attempting to fix #724: Use provided target host credentials also when downloading via proxy. #725

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

kaeufl
Copy link
Contributor

@kaeufl kaeufl commented May 27, 2018

Summary
This PR tries to fix issue #724 by adding both the proxy credentials (if present) and the target host credentials (if present) to the CredentialsProvider passed to the http client when downloading node, yarn or npm.

Tests and Documentation
Unfortunately, it seems there were no integration tests for neither the proxy nor the authentication feature so far. I could maybe try to provide one or two tests. It would, however, involve some new dependencies, since we'd need to start a simple proxy and/or http mock server of some sort prior to integration tests. Should you have any ideas/recommendations please let me know.

@t40mas
Copy link

t40mas commented Nov 19, 2021

Hello @eirslett,
we have run into the same issue.
Is there a way to merge #725?
Unfortunately we can´t provide a fork in our artifactory.

Kind regards

Thomas

@eirslett
Copy link
Owner

Ok, let's go for it!

@eirslett eirslett merged commit 2eb794d into eirslett:master Sep 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants