microsoft / artifacts-credprovider

The Azure Artifacts Credential Provider enables dotnet, NuGet.exe, and MSBuild to interactively acquire credentials for Azure Artifacts feeds.
MIT License
745 stars 707 forks source link

Use Windows authentication context from in WSL #461

Open nicholass-alcidion opened 7 months ago

nicholass-alcidion commented 7 months ago

When working in WSL it is possible to get other credential providers (such as git) to use the authentication context from Windows inside of WLS

It would be extreamly helpful if this provider could also be configured to do so

johnterickson commented 7 months ago

Not an official MSFT release, but I made this during a hackathon: https://github.com/johnterickson/CredentialProvider.Redirect

github-actions[bot] commented 3 months ago

This issue has had no activity in 90 days. Please comment if it is not actually stale.

nicholass-alcidion commented 3 months ago

Not stale.

github-actions[bot] commented 2 weeks ago

This issue has had no activity in 90 days. Please comment if it is not actually stale.

nicholass-alcidion commented 1 week ago

This remains a problem

p10tyr commented 21 hours ago

Got to be carefull with the use Windows context.. as some people are logged into one AD but may authenticate against other nuget AD's.. its a real pain in Windows, especially with Cake build.

It just needs to popup --- or in WSL show you the QR code to select what you want to authenticate against..
although the new WSL now support X proxy? so it could work with a GUI too, maybe?