{"action":"created","issue":{"url":"https://api.github.com/repos/jasonjoh/dotnet-tutorial/issues/1","labels_url":"https://api.github.com/repos/jasonjoh/dotnet-tutorial/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/jasonjoh/dotnet-tutorial/issues/1/comments","events_url":"https://api.github.com/repos/jasonjoh/dotnet-tutorial/issues/1/events","html_url":"https://github.com/jasonjoh/dotnet-tutorial/issues/1","id":103740798,"number":1,"title":"AuthenticationContext result is null","user":{"login":"Eonasdan","id":1006516,"avatar_url":"https://avatars.githubusercontent.com/u/1006516?v=3","gravatar_id":"","url":"https://api.github.com/users/Eonasdan","html_url":"https://github.com/Eonasdan","followers_url":"https://api.github.com/users/Eonasdan/followers","following_url":"https://api.github.com/users/Eonasdan/following{/other_user}","gists_url":"https://api.github.com/users/Eonasdan/gists{/gist_id}","starred_url":"https://api.github.com/users/Eonasdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eonasdan/subscriptions","organizations_url":"https://api.github.com/users/Eonasdan/orgs","repos_url":"https://api.github.com/users/Eonasdan/repos","events_url":"https://api.github.com/users/Eonasdan/events{/privacy}","received_events_url":"https://api.github.com/users/Eonasdan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-08-28T15:34:28Z","updated_at":"2015-09-10T20:41:24Z","closed_at":null,"body":"I have \r\n\r\n` var authResult = await _authContext.AcquireTokenByAuthorizationCodeAsync(\r\n                    authCode, _redirectUri, credential, _scopes);`\r\n\r\nlike your `Authorize` action result, but all of the `authResult` attributes (Token, etc) are null.\r\n\r\nI see a reply from `https://login.microsoftonline.com/common/oauth2/v2.0/token` in Fiddler that has a token in it. What am I doing wrong here?\r\n\r\nThanks"},"comment":{"url":"https://api.github.com/repos/jasonjoh/dotnet-tutorial/issues/comments/139372999","html_url":"https://github.com/jasonjoh/dotnet-tutorial/issues/1#issuecomment-139372999","issue_url":"https://api.github.com/repos/jasonjoh/dotnet-tutorial/issues/1","id":139372999,"user":{"login":"Eonasdan","id":1006516,"avatar_url":"https://avatars.githubusercontent.com/u/1006516?v=3","gravatar_id":"","url":"https://api.github.com/users/Eonasdan","html_url":"https://github.com/Eonasdan","followers_url":"https://api.github.com/users/Eonasdan/followers","following_url":"https://api.github.com/users/Eonasdan/following{/other_user}","gists_url":"https://api.github.com/users/Eonasdan/gists{/gist_id}","starred_url":"https://api.github.com/users/Eonasdan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eonasdan/subscriptions","organizations_url":"https://api.github.com/users/Eonasdan/orgs","repos_url":"https://api.github.com/users/Eonasdan/repos","events_url":"https://api.github.com/users/Eonasdan/events{/privacy}","received_events_url":"https://api.github.com/users/Eonasdan/received_events","type":"User","site_admin":false},"created_at":"2015-09-10T20:41:24Z","updated_at":"2015-09-10T20:41:24Z","body":"well I thought I fat fingered the `apps-dev.dev.microsoft.com` but it looks like `apps-dev.dev.microsoft.com` and `apps.dev.microsoft.com` are different websites! I found my previously created application under `apps.dev.microsoft.com`. Unfortunately, `authResults` is still null :("}}