Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
Anonymous publishing to an NPM feed
-
Hello,
We're trying to get GitLab CI working with ProGet to automatically publish NPM packages. Our original intent was that our CI would be publishing packages, once the changes were merged into the ‘master’ branch, and not individual developers. It was then discovered that authentication tokens are not supported for NPM, and we have been unsuccessful in finding an alternative for authentication using either NPM or YARN to publish to ProGet from a CI script (using npm adduser & yarn login).As a result, we have had a to turn off authentication for Publishing and given ‘Anonymous’ users permissions to Publish. However even after making this change, we are still unable to publish to ProGet from the GitLab CI scripts without logging in.
Is it possible at all for anonymous users to publish NPM packages to ProGet without logging in?
Product: ProGet
Version: 4.7.14 -
I don't believe the NPM protocol allows for anonymous pushes. You could certainly have your CI put it in a drop folder however, which the ProGet would pick-up.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login