Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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

    Scheduled Pinned Locked Moved Support
    publishingnpmprogetauthentication
    2 Posts 1 Posters 18 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? This user is from outside of this forum
      Guest
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • ? This user is from outside of this forum
        Guest
        last edited by

        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.

        1 Reply Last reply Reply Quote 0

        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
        • 1 / 1
        • First post
          Last post
        Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation