Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

authentication problem for dependencies from other private organization feeds #25

Open
howest-alexander opened this issue Apr 1, 2020 · 2 comments

Comments

@howest-alexander
Copy link

in the nuget.config file we use a PAT (personal access token) to connect to the private package feed from another organization but we cannot authenticate. We get the error 401 - not authorized all the time.
It works fine with the task nuget restore in the pipeline where we can use a service connection as you can see below
image

In the property externalFeedCredentials you can provide a service connection. That service connection is than configured to connect with the PAT to the private feed from another organization.

My question is now if it's possible to add such a property to this extension? Or can you provide a solution in for example nuget.config for how we can connect to a private feed in another organization?

@jeffpriz
Copy link

jeffpriz commented Jun 2, 2020

I also need authentication to private feed to work. We provide the authentication information in our Nuget.config for consumption by the Nuget Command .. however, this task doesn't seem to respect the settings in Nuget config, and we end up with a 401..

@nilsatomada
Copy link

We're having the same issue I'm addressing this with the following #76 - credentials are taken from environment variables and not from the NuGet.config

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants