Comments (9)
@sabbadino can you share the logs and also the nuget.config that causes the 401 (with any auth tokens redacted)?
@anangaur @nkolev92 thoughts on this?
from artifacts-credprovider.
Normally they are different concerns.
The NuGet client has no idea about VSS_NUGET_EXTERNAL_FEED_ENDPOINTS.
It's about whether the client ends up calling the plugin to get credentials.
from artifacts-credprovider.
According to my tests, auth stops working if the nuget.config has valid credentials (Pat token) for the feed, or if it just "mention" the protected feed without providing credentials.
from artifacts-credprovider.
Can you clarify what you mean by stops working
?
nuget.config creds are preferred over using plugins.
from artifacts-credprovider.
I mean that if there is a nuget config "around" , even without credentials, I get unauthorized when dotnetcore restore is run , even if VSS_NUGET_EXTERNAL_FEED_ENDPOINTS is setup correctly .
If I comment the line that copies the nuget config in the docker file , downloading packages from the tfs feed works
from artifacts-credprovider.
Does the nuget.config in question add sources that are not listed in VSS_NUGET_EXTERNAL_FEED_ENDPOINTS ?
How are the sources specified when you don't have the nuget.config in question?
from artifacts-credprovider.
from artifacts-credprovider.
@sabbadino If VSS_NUGET_EXTERNAL_FEED_ENDPOINTS helps you authenticate it must mean NuGet found the cred provider plugin and the env var is working correctly. The question by nkolev92 remains though - how do you specify the sources when you don't have nuget.config set in your docker file?
Also note that the package source url in the provided nuget.config must match the url set in VSS_NUGET_EXTERNAL_FEED_ENDPOINTS exactly. Currently https://pkgs.dev.azure.com/<account>/_packaging/<feed>/nuget/v3/index.json
and https://<account>.pkgs.visualstudio.com/_packaging/<feed>/nuget/v3/index.json
are not considered the same url even though it points to the same feed.
from artifacts-credprovider.
closing this due to inactivity. Please feel free to re-open if you have more updates.
from artifacts-credprovider.
Related Issues (20)
- Broken when referencing a Nuget package in F# interactive HOT 17
- Nu
- Azure Artifacts Credential provider failing to start HOT 6
- NullReferenceException in v1.0.9 HOT 3
- Azure Devops: gzip: stdin: unexpected end of file HOT 3
- Problem starting the plugin - Broken Pipe HOT 1
- How to do enhanced debugging? HOT 1
- Issue authenticating to Azure Artifacts via Python behind firewall decryption HOT 1
- Use Windows authentication context from in WSL HOT 6
- System.Security.Cryptography.CryptographicException on remote connections HOT 9
- The last Create 1.1.0 release Build Failed. When v1.1.0 will be released? HOT 6
- The messages logged by the credential providers are not localized. HOT 3
- Inconsistent account selection modal behavior across operating systems HOT 3
- MsalInteractiveTokenProvider breaks if no console window handle available HOT 4
- Artifacts Conda Remove SDK Dependency HOT 2
- Credential provider is not working on new laptop HOT 4
- `JsonException` with Release `1.1.0` when using `VSS_NUGET_EXTERNAL_FEED_ENDPOINTS` HOT 4
- dotnet list <SOLUTION> package --vulnerable/--outdated/--deprecated fails with Azure Artifacts Credential Provider HOT 7
- Are the Requirements Correct? HOT 4
- The proxy tunnel request to proxy failed with status code '407' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artifacts-credprovider.