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!

LDAP npm install fails with 401



  • Hi,

    I set up ProGet with LDAP and Integrated Authentication disabled.
    The NuGet feed works without problem but npm throws a 401 when trying to download the package. Getting the correct version though works.

    I added the API endpoint URL to my local computer and also the correct user via "npm login". When I add the group anonymous to the "View and Download Packages" right it works.

    Any idea what I need to change so it works?

    Product: ProGet
    Version: 4.7.13



  • Hello Curdin,

    By default, npm does not send authentication information for GET requests. You should be able to fix the 401 error with npm config set always-auth true



  • Thanks, that fixed it.



Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation