Skip to content

Basic authentication #11

@benalexau

Description

@benalexau

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:gh_personal_access_token@maven.pkg.github.com/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions