{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1533","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1533/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1533/comments","events_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1533/events","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1533","id":90727014,"number":1533,"title":"Issue in 2.0.0-beta6 - CopyToAsync of InputStream (OWIN)","user":{"login":"jlegan","id":2712321,"avatar_url":"https://avatars.githubusercontent.com/u/2712321?v=3","gravatar_id":"","url":"https://api.github.com/users/jlegan","html_url":"https://github.com/jlegan","followers_url":"https://api.github.com/users/jlegan/followers","following_url":"https://api.github.com/users/jlegan/following{/other_user}","gists_url":"https://api.github.com/users/jlegan/gists{/gist_id}","starred_url":"https://api.github.com/users/jlegan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlegan/subscriptions","organizations_url":"https://api.github.com/users/jlegan/orgs","repos_url":"https://api.github.com/users/jlegan/repos","events_url":"https://api.github.com/users/jlegan/events{/privacy}","received_events_url":"https://api.github.com/users/jlegan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/labels/3%20-%20Done","name":"3 - Done","color":"CCCCCC"},{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":{"login":"brockallen","id":649492,"avatar_url":"https://avatars.githubusercontent.com/u/649492?v=3","gravatar_id":"","url":"https://api.github.com/users/brockallen","html_url":"https://github.com/brockallen","followers_url":"https://api.github.com/users/brockallen/followers","following_url":"https://api.github.com/users/brockallen/following{/other_user}","gists_url":"https://api.github.com/users/brockallen/gists{/gist_id}","starred_url":"https://api.github.com/users/brockallen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brockallen/subscriptions","organizations_url":"https://api.github.com/users/brockallen/orgs","repos_url":"https://api.github.com/users/brockallen/repos","events_url":"https://api.github.com/users/brockallen/events{/privacy}","received_events_url":"https://api.github.com/users/brockallen/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/milestones/10","html_url":"https://github.com/IdentityServer/IdentityServer3/milestones/2.0","labels_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/milestones/10/labels","id":950882,"number":10,"title":"2.0","description":"breaking changes, major feature additions","creator":{"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},"open_issues":0,"closed_issues":38,"state":"open","created_at":"2015-01-26T07:14:33Z","updated_at":"2015-06-30T20:24:54Z","due_on":"2015-06-29T23:00:00Z","closed_at":null},"comments":12,"created_at":"2015-06-24T16:33:04Z","updated_at":"2015-06-30T20:24:54Z","closed_at":"2015-06-30T20:24:54Z","body":"Took a bit too much out of the original description:\r\n\r\nMoved over to 2.0.0-beta6 and started to receive unsupported_grant_types coming back from my hybrid flow call to request an auth code, mirroring the sample code. \r\n\r\n````\r\n                        // get access and refresh token\r\n                        var tokenClient = new OAuth2Client(\r\n                            new Uri(CloudConfigurationManager.GetSetting(\"TokenEndpoint\")),\r\n                            \"test\",\r\n                            \"test\");\r\n\r\n                        var response = await tokenClient.RequestAuthorizationCodeAsync(n.Code, n.RedirectUri);\r\n\r\n                        claims.Add(new Claim(\"access_token\", response.AccessToken));\r\n````\r\n\r\nI grabbed the source and debugged it and realized that not just the grant type but all params were missing even though they were making it to the identityserver. Below are my findings.\r\n\r\n<!---\r\n@huboard:{\"order\":160.375,\"milestone_order\":1533,\"custom_state\":\"\"}\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/comments/117330706","html_url":"https://github.com/IdentityServer/IdentityServer3/issues/1533#issuecomment-117330706","issue_url":"https://api.github.com/repos/IdentityServer/IdentityServer3/issues/1533","id":117330706,"user":{"login":"jlegan","id":2712321,"avatar_url":"https://avatars.githubusercontent.com/u/2712321?v=3","gravatar_id":"","url":"https://api.github.com/users/jlegan","html_url":"https://github.com/jlegan","followers_url":"https://api.github.com/users/jlegan/followers","following_url":"https://api.github.com/users/jlegan/following{/other_user}","gists_url":"https://api.github.com/users/jlegan/gists{/gist_id}","starred_url":"https://api.github.com/users/jlegan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlegan/subscriptions","organizations_url":"https://api.github.com/users/jlegan/orgs","repos_url":"https://api.github.com/users/jlegan/repos","events_url":"https://api.github.com/users/jlegan/events{/privacy}","received_events_url":"https://api.github.com/users/jlegan/received_events","type":"User","site_admin":false},"created_at":"2015-06-30T20:24:54Z","updated_at":"2015-06-30T20:24:54Z","body":"Brock,\r\n\r\nEverything is testing out well. I ran into an issue with the changes in the logging but I believe that is on my end at this point. I have to pull out my usage of the Diagnostic Trace Provider and rewire up my nLog implementation in order to get the verbose output I was seeing before but tokens are being generated. Thanks for all of your help.\r\n\r\nJim\r\n"}}