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

Support token-based auth in maven_export/MavenPublisher #1186

Open
SanjayVas opened this issue Jun 28, 2024 · 0 comments
Open

Support token-based auth in maven_export/MavenPublisher #1186

SanjayVas opened this issue Jun 28, 2024 · 0 comments

Comments

@SanjayVas
Copy link

SanjayVas commented Jun 28, 2024

The maven_export rule and the corresponding MavenPublisher application only support basic auth using username/password. This does not work for repositories which use token-based auth. The most common example of this is GitHub Packages, where uploading via a GitHub Actions is done using GITHUB_TOKEN.

For GitHub specifically there is a workaround using a personal access token (classic), but this effectively means having to authenticate as a single GitHub user with the right permissions.

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