Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Copilot Lvl 2
Message 1 of 15

Download from Github Package Registry without authentication

Solved! Go to Solution.
After publish a maven Package on Github Package Registry I can download it as dependency if I my settings.xml filé contains my username and my personal access token.

But how another person can use it without authentication? I thought Github Package Registry was like a maven central repo.

14 Replies
Solution
Community Manager
Message 2 of 15

Re: Download from Github Package Registry without authentication

Hi @Markenson

 

Thank you for being here! Currently you need to authenticate to download both public and private packages I'm afraid. We are investigating how, going forwards, beyond the beta we maybe able to offer this functionality, however this could be a way off yet - I've added a +1 against this for you, and we'll let you know as soon as we have an update that we can share surrounding this. Keep an eye on https://github.blog for all updates meanwhile.


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Copilot Lvl 2
Message 3 of 15

Re: Download from Github Package Registry without authentication

Thank you, @AndreaGriffiths11 !

 

Knowing that's only authenticaded operation save (and too much) my time!

 

I'll stay tuned about this on blog.

 

Best regards,

Markenson

Copilot Lvl 2
Message 4 of 15

Re: Download from Github Package Registry without authentication

You should mention that in the documentation as well. It took me hours to find this thread :-(

 

I think providing a package registry for open source projects that is accessible with authentication only does not make sense. 

Community Manager
Message 5 of 15

Re: Download from Github Package Registry without authentication

Thanks for the feedback @uhafner, I agree and apologies for that. I'll be sure to pass this feedback to our docs team.


Best,
AndreaG

Mark helpful posts with Accept as Solution to help other users locate important info. Don't forget to give Kudos for great content!

Mission Specialist Lvl 1
Message 6 of 15

Re: Download from Github Package Registry without authentication

I am thinking about the same thing. It says it in the developer docs, but when you navigate to the package itself it says nothing about authentication with GitHub. I think that needs to be in big bright flashing lights since it is deviating from how npm, maven, and other repos work when you just simply pull the public projects. 

Copilot Lvl 3
Message 7 of 15

Re: Download from Github Package Registry without authentication

That's unfortunate, but I'm glad to hear you're looking into the issue. My team also produce Maven artifacts with external consumers, and requiring those consumers to authenticate with a token with our organization's SSO enabled is stopping us from using GitHub package registry.

Mission Specialist Lvl 1
Message 8 of 15

Re: Download from Github Package Registry without authentication

Ditto - we will just continue to use other services, like Maven, and NPM. It is difficult enough educating customers on how to use a public SDK, let alone having to teach them how to configure gradle to authenticate with GitHub.  

Copilot Lvl 3
Message 9 of 15

Re: Download from Github Package Registry without authentication

@AndreaGriffiths11 Is there timeline when this issue will fixed?

Ground Controller Lvl 2
Message 10 of 15

Re: Download from Github Package Registry without authentication

So I guess this is only usefull for private artifacts. Very unfortunate indeed  for opensource.