Repository navigation
Fix credentials (Windows authentication) + fallback for legacy API - #49
Conversation
Support loading of NuGet feeds and packages that require credentials, e.g. a ProGet feed with Windows Authentication.
If the FindPackagesById() service is not found, fall back to the Packages() services when loading all versions of a particular package. This is similar to what Visual Studio does when showing packages.
…kage from server.
|
:) thanks! Will try to release this week a new version. |
|
@rikoe Hello thanks for this change but what about if im not in the domain is there a chance to popup a login dialog to enter the credentials just like visual studio does? |
|
Well, you'd need to be clear about your use case. When would you use My fix was simply for authenticating against the NuGet server with the same What you're asking for sounds a lot more complex, effectively supporting If you really need what you are asking for I would suggest opening a We can then try and prioritise it, but if it's not a common use case you
|
|
It is a superset of #48 - it includes the same change to PackageDownloader.cs, but adds default credentials in a bunch of other places. The one additional thing it does, is that (at the time) ProGet used a legacy NuGet API for searching packages by id, which didn't work with NuGetPackageExplorer, so I added some code to fall back to the legacy API |
|
Fixes #4 |
Fix credentials + fallback for legacy API
|
How would one authenticate with a VSO nuget feed? https://blogs.msdn.microsoft.com/visualstudioalm/2015/08/27/announcing-package-management-support-for-vsotfs/ |
|
Hi @WiteCastle , only Windows authentication (without login form) is currently supported. |
I created these changes in 2014 when I was trying to fix NuGetPackageExplorer to work with a local Active Directory install of ProGet.
The changes were both to be able to download packages from and push packages to the server using Windows Integrated Authentication, as supported by ProGet.
Please review and approve/discard as you see fit - hopefully we can address #16 and #4 with this.