{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/2521","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/2521/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/2521/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/2521/events","html_url":"https://github.com/NuGet/Home/issues/2521","id":147410705,"number":2521,"title":"Authorization fails due to Authorization Header Lost on Redirect","user":{"login":"Tasteful","id":357589,"avatar_url":"https://avatars.githubusercontent.com/u/357589?v=3","gravatar_id":"","url":"https://api.github.com/users/Tasteful","html_url":"https://github.com/Tasteful","followers_url":"https://api.github.com/users/Tasteful/followers","following_url":"https://api.github.com/users/Tasteful/following{/other_user}","gists_url":"https://api.github.com/users/Tasteful/gists{/gist_id}","starred_url":"https://api.github.com/users/Tasteful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tasteful/subscriptions","organizations_url":"https://api.github.com/users/Tasteful/orgs","repos_url":"https://api.github.com/users/Tasteful/repos","events_url":"https://api.github.com/users/Tasteful/events{/privacy}","received_events_url":"https://api.github.com/users/Tasteful/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/NuGet/Home/labels/Area:VS.Client","name":"Area:VS.Client","color":"159818"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Priority:0","name":"Priority:0","color":"fbca04"},{"url":"https://api.github.com/repos/NuGet/Home/labels/Type:Bug","name":"Type:Bug","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"alpaix","id":8239356,"avatar_url":"https://avatars.githubusercontent.com/u/8239356?v=3","gravatar_id":"","url":"https://api.github.com/users/alpaix","html_url":"https://github.com/alpaix","followers_url":"https://api.github.com/users/alpaix/followers","following_url":"https://api.github.com/users/alpaix/following{/other_user}","gists_url":"https://api.github.com/users/alpaix/gists{/gist_id}","starred_url":"https://api.github.com/users/alpaix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alpaix/subscriptions","organizations_url":"https://api.github.com/users/alpaix/orgs","repos_url":"https://api.github.com/users/alpaix/repos","events_url":"https://api.github.com/users/alpaix/events{/privacy}","received_events_url":"https://api.github.com/users/alpaix/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/29","html_url":"https://github.com/NuGet/Home/milestones/3.4.3","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/29/labels","id":1698428,"number":29,"title":"3.4.3","description":"","creator":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":21,"state":"closed","created_at":"2016-04-11T17:12:53Z","updated_at":"2016-04-22T23:41:33Z","due_on":"2016-04-23T07:00:00Z","closed_at":"2016-04-22T23:41:33Z"},"comments":28,"created_at":"2016-04-11T12:26:23Z","updated_at":"2016-05-02T07:12:12Z","closed_at":"2016-04-14T21:35:10Z","body":"After the update to NuGet Version: 3.3.0.212 and Visual Studio VSIX Package Version: 3.4.2.830 password protected nuget feeds is not working.\r\n\r\nWhen using command line I got the following error even that the credentials is stored in nuget.config file. And from inside VS the credential dialog is poping up all the time.\r\n```\r\nC:\\>nuget list -source https://domain/nuget -verbosity detailed\r\nUsing credentials from config. UserName: myusername\r\nPlease provide credentials for: https://domain/nuget\r\nUserName: System.InvalidOperationException: Cannot prompt for input in non-interactive mode.\r\n   at NuGet.Common.Console.EnsureInteractive()\r\n   at NuGet.Common.Console.ReadLine()\r\n   at NuGet.ConsoleCredentialProvider.Get(Uri uri, IWebProxy proxy, Boolean isProxy, Boolean isRetry, Boolean nonInteractive, CancellationToken cancellationToken)\r\n   at NuGet.Credentials.CredentialService.<GetCredentials>d__11.MoveNext()\r\n```\r\n\r\nWhen I use fiddler to check the request to server I can see that the authentication not is encrypted correct. When I decode the base64 decoded string I can see that the username is correct but the password in some encoded format (base64 also)."},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/216120871","html_url":"https://github.com/NuGet/Home/issues/2521#issuecomment-216120871","issue_url":"https://api.github.com/repos/NuGet/Home/issues/2521","id":216120871,"user":{"login":"Tasteful","id":357589,"avatar_url":"https://avatars.githubusercontent.com/u/357589?v=3","gravatar_id":"","url":"https://api.github.com/users/Tasteful","html_url":"https://github.com/Tasteful","followers_url":"https://api.github.com/users/Tasteful/followers","following_url":"https://api.github.com/users/Tasteful/following{/other_user}","gists_url":"https://api.github.com/users/Tasteful/gists{/gist_id}","starred_url":"https://api.github.com/users/Tasteful/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tasteful/subscriptions","organizations_url":"https://api.github.com/users/Tasteful/orgs","repos_url":"https://api.github.com/users/Tasteful/repos","events_url":"https://api.github.com/users/Tasteful/events{/privacy}","received_events_url":"https://api.github.com/users/Tasteful/received_events","type":"User","site_admin":false},"created_at":"2016-05-02T07:12:12Z","updated_at":"2016-05-02T07:12:12Z","body":"@alpaix I think this issue not is fully solved. I can now list the packages when using the private authenticated feed, but can download them during package restore in the yellow bar in package manager console that saying that some packages is missing.\r\n\r\nVSIX Version 3.4.3.855\r\n\r\n```\r\nGET https://nuget-release.test/nuget/ HTTP/1.1\r\nuser-agent: NuGet Client V3/3.4.3.0 (Microsoft Windows NT 10.0.10586.0, VS Enterprise/14.0)\r\nHost: nuget-release.test\r\nAccept-Encoding: gzip, deflate\r\n\r\n\r\nHTTP/1.1 401 Unauthorized\r\nContent-Length: 1293\r\nContent-Type: text/html\r\nWWW-Authenticate: Basic realm=\"Use your login for test\"\r\nServer: Microsoft-IIS/8.5 Microsoft-HTTPAPI/2.0\r\nX-Powered-By: ASP.NET\r\nX-Robots-Tag: noindex, nofollow\r\nDate: Mon, 02 May 2016 06:58:22 GMT\r\n------------------------------------------------------------------\r\n\r\nGET https://nuget-release.test/nuget/ HTTP/1.1\r\nuser-agent: NuGet Client V3/3.4.3.0 (Microsoft Windows NT 10.0.10586.0, VS Enterprise/14.0)\r\nAccept-Encoding: gzip, deflate\r\nAuthorization: Basic [correct authentication token]\r\nHost: nuget-release.test\r\n\r\n\r\nHTTP/1.1 200 OK\r\nCache-Control: no-cache\r\nContent-Length: 406\r\nContent-Type: application/xml;charset=utf-8\r\nServer: Microsoft-IIS/8.5 Microsoft-HTTPAPI/2.0\r\nDataServiceVersion: 1.0;\r\nX-AspNet-Version: 4.0.30319\r\nX-Powered-By: ASP.NET\r\nX-Robots-Tag: noindex, nofollow\r\nDate: Mon, 02 May 2016 06:58:22 GMT\r\n------------------------------------------------------------------\r\n\r\nGET https://nuget-release.test/nuget/Packages(Id='Test.Utilities',Version='5.0.0') HTTP/1.1\r\nAccept: application/atom+xml, application/xml\r\nuser-agent: NuGet Client V3/3.4.3.0 (Microsoft Windows NT 10.0.10586.0, VS Enterprise/14.0)\r\nHost: nuget-release.test\r\nAccept-Encoding: gzip, deflate\r\n\r\n\r\nHTTP/1.1 401 Unauthorized\r\nContent-Length: 1293\r\nContent-Type: text/html\r\nWWW-Authenticate: Basic realm=\"Use your login for test\"\r\nServer: Microsoft-IIS/8.5 Microsoft-HTTPAPI/2.0\r\nX-Powered-By: ASP.NET\r\nX-Robots-Tag: noindex, nofollow\r\nDate: Mon, 02 May 2016 06:58:22 GMT\r\n------------------------------------------------------------------\r\n\r\nGET https://nuget-release.test/nuget/Packages(Id='test.Utilities',Version='5.0.0') HTTP/1.1\r\nAccept: application/atom+xml, application/xml\r\nuser-agent: NuGet Client V3/3.4.3.0 (Microsoft Windows NT 10.0.10586.0, VS Enterprise/14.0)\r\nAccept-Encoding: gzip, deflate\r\nAuthorization: Basic [bad authentication token ([username]:[base64 string that not is the password])]\r\nHost: nuget-release.test\r\n\r\n\r\nHTTP/1.1 401 Unauthorized\r\nContent-Length: 1293\r\nContent-Type: text/html\r\nWWW-Authenticate: Basic realm=\"Use your login for test\"\r\nServer: Microsoft-IIS/8.5 Microsoft-HTTPAPI/2.0\r\nX-Powered-By: ASP.NET\r\nX-Robots-Tag: noindex, nofollow\r\nDate: Mon, 02 May 2016 06:58:22 GMT\r\n------------------------------------------------------------------\r\n```"}}