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

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.

20 Replies
Highlighted
Solution
Community Manager
Message 2 of 21

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.


I hope this helps,
Andrea

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

Highlighted
Copilot Lvl 2
Message 3 of 21

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

Highlighted
Copilot Lvl 2
Message 4 of 21

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. 

Highlighted
Community Manager
Message 5 of 21

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.


I hope this helps,
Andrea

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

Highlighted
Copilot Lvl 2
Message 6 of 21

Re: Download from Github Package Registry without authentication

Thanks for everything
Highlighted
Mission Specialist Lvl 1
Message 7 of 21

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. 

Highlighted
Copilot Lvl 3
Message 8 of 21

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.

Highlighted
Mission Specialist Lvl 1
Message 9 of 21

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.  

Highlighted
Copilot Lvl 3
Message 10 of 21

Re: Download from Github Package Registry without authentication

@AndreaGriffiths11 Is there timeline when this issue will fixed?