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!
Nuget install prompting for credentials
-
Hi,
We have indeo set up for AD integrationHowever, I also have a DevOps pipeline that is off the domain and I don't want to give it an AD account to connect.
So I have created a built-in directory user to pull the packages downI've set the credentials locally
with nuget sources add -Name "proget" -Source "https://xxxx/nuget/myfeed/" -username "uuuu" -password "pppp"
and also nuget setapikey "uuuuu:ppppp" -Source "https://xxxx/nuget/myfeed/"however, on doing a nuget install, I'm still getting prompted for credentials.
Any ideas?
-
The first thing that comes to mind is Integrated Windows Authentication; you often won't be able to authenticate unless your computer is on the domain. This is a limitatino/feature of Windows (i.e. it's by design to work this way).
As a work-around, you can setup a second site that doesn't have IWS enabled, and point to the same folder on disk.