{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1463","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1463/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1463/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1463/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1463","id":86611937,"number":1463,"title":"Thinktectute identity server3 support for windows authentication.","user":{"login":"dhanutpk","id":11991328,"avatar_url":"https://avatars.githubusercontent.com/u/11991328?v=3","gravatar_id":"","url":"https://api.github.com/users/dhanutpk","html_url":"https://github.com/dhanutpk","followers_url":"https://api.github.com/users/dhanutpk/followers","following_url":"https://api.github.com/users/dhanutpk/following{/other_user}","gists_url":"https://api.github.com/users/dhanutpk/gists{/gist_id}","starred_url":"https://api.github.com/users/dhanutpk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhanutpk/subscriptions","organizations_url":"https://api.github.com/users/dhanutpk/orgs","repos_url":"https://api.github.com/users/dhanutpk/repos","events_url":"https://api.github.com/users/dhanutpk/events{/privacy}","received_events_url":"https://api.github.com/users/dhanutpk/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":{"login":"leastprivilege","id":1454075,"avatar_url":"https://avatars.githubusercontent.com/u/1454075?v=3","gravatar_id":"","url":"https://api.github.com/users/leastprivilege","html_url":"https://github.com/leastprivilege","followers_url":"https://api.github.com/users/leastprivilege/followers","following_url":"https://api.github.com/users/leastprivilege/following{/other_user}","gists_url":"https://api.github.com/users/leastprivilege/gists{/gist_id}","starred_url":"https://api.github.com/users/leastprivilege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leastprivilege/subscriptions","organizations_url":"https://api.github.com/users/leastprivilege/orgs","repos_url":"https://api.github.com/users/leastprivilege/repos","events_url":"https://api.github.com/users/leastprivilege/events{/privacy}","received_events_url":"https://api.github.com/users/leastprivilege/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2015-06-09T14:10:37Z","updated_at":"2015-06-22T15:42:26Z","closed_at":null,"body":"Hi, \r\n\r\nI have requirement to generate tokens without using username and password from identity server. \r\nWill Think tecture Id server supports windows authentication?\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/114157684","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1463#issuecomment-114157684","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1463","id":114157684,"user":{"login":"leastprivilege","id":1454075,"avatar_url":"https://avatars.githubusercontent.com/u/1454075?v=3","gravatar_id":"","url":"https://api.github.com/users/leastprivilege","html_url":"https://github.com/leastprivilege","followers_url":"https://api.github.com/users/leastprivilege/followers","following_url":"https://api.github.com/users/leastprivilege/following{/other_user}","gists_url":"https://api.github.com/users/leastprivilege/gists{/gist_id}","starred_url":"https://api.github.com/users/leastprivilege/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leastprivilege/subscriptions","organizations_url":"https://api.github.com/users/leastprivilege/orgs","repos_url":"https://api.github.com/users/leastprivilege/repos","events_url":"https://api.github.com/users/leastprivilege/events{/privacy}","received_events_url":"https://api.github.com/users/leastprivilege/received_events","type":"User","site_admin":false},"created_at":"2015-06-22T15:42:26Z","updated_at":"2015-06-22T15:42:26Z","body":"I don't have a proper sample right now - but this org contains the WindowsAuthentication repo. Host this in a Windows authN web application - then you can use the following code to request a token using Windows authentication:\r\n\r\n```csharp\r\nclass Program\r\n{\r\n    static void Main(string[] args)\r\n    {\r\n        var handler = new HttpClientHandler\r\n        {\r\n            UseDefaultCredentials = true\r\n        };\r\n\r\n        var oauthClient = new OAuth2Client(\r\n            new Uri(\"https://localhost:44350/token\"),\r\n            handler);\r\n\r\n        var result = oauthClient.RequestCustomGrantAsync(\"windows\").Result;\r\n    }\r\n}\r\n```\r\n\r\nThis will give you a JWT access token back. You then need to create a custom grant validator in your \"prmary\" IdSrv that converts this JWT to a new access token for your services."}}