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

Basic authentication #11

Open
benalexau opened this issue Apr 28, 2020 · 0 comments
Open

Basic authentication #11

benalexau opened this issue Apr 28, 2020 · 0 comments

Comments

@benalexau
Copy link

GitHub Packages now provides Maven-supported package repositories for both public and private projects. It is possible to retrieve artifacts from private repositories using HTTP basic authentication, as confirmed with wget https://gh_username:[email protected]/owner/repository/groupId/artifactId/version/artifact-version.type.

I tested Tiny Maven Proxy 1.5 with a private GitHub Packages repository by adding a mirror URL which encoded the username and password in the usual way. Unfortunately this failed, despite checking the download is available using wget as mentioned above.

It would be great if Tiny Maven Proxy supported mirror URLs that encode HTTP basic authentication credentials.

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

No branches or pull requests

1 participant