{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityServer/Thinktecture.IdentityServer3/issues/965","labels_url":"https://api.github.com/repos/IdentityServer/Thinktecture.IdentityServer3/issues/965/labels{/name}","comments_url":"https://api.github.com/repos/IdentityServer/Thinktecture.IdentityServer3/issues/965/comments","events_url":"https://api.github.com/repos/IdentityServer/Thinktecture.IdentityServer3/issues/965/events","html_url":"https://github.com/IdentityServer/Thinktecture.IdentityServer3/issues/965","id":58575926,"number":965,"title":"Thinktecture and Microsoft Account Authentication","user":{"login":"sportingdurutti","id":10614576,"avatar_url":"https://avatars.githubusercontent.com/u/10614576?v=3","gravatar_id":"","url":"https://api.github.com/users/sportingdurutti","html_url":"https://github.com/sportingdurutti","followers_url":"https://api.github.com/users/sportingdurutti/followers","following_url":"https://api.github.com/users/sportingdurutti/following{/other_user}","gists_url":"https://api.github.com/users/sportingdurutti/gists{/gist_id}","starred_url":"https://api.github.com/users/sportingdurutti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sportingdurutti/subscriptions","organizations_url":"https://api.github.com/users/sportingdurutti/orgs","repos_url":"https://api.github.com/users/sportingdurutti/repos","events_url":"https://api.github.com/users/sportingdurutti/events{/privacy}","received_events_url":"https://api.github.com/users/sportingdurutti/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityServer/Thinktecture.IdentityServer3/labels/question","name":"question","color":"cc317c"}],"state":"open","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":null,"comments":15,"created_at":"2015-02-23T11:49:19Z","updated_at":"2015-02-26T11:31:51Z","closed_at":null,"body":"When testing Thinktecture with External Authentication Providers i'm able to achieve this with both ADFS 3.0 and Google. But with Microsoft Account i'm getting some \"There was an unexpected error\" and returned to {MyURL}/idsrv/callback. \r\nI can see that the user is created in my Database (as per config i'm using  idSvrFactory.ConfigureCustomUserService(\"MyIdentityDb\") which is pointing to a Database) when using all external providers\r\nWhat is starnge is that if i refresh  the page or i i login a second time (with the user already in the database), the error dissapears and i can see the logged in user \r\nDo you have any idea about what is causing the error? Also i'me getting some ID String as the loggedin User, how can i built my claims from the claims received from each provider?"},"comment":{"url":"https://api.github.com/repos/IdentityServer/Thinktecture.IdentityServer3/issues/comments/76163258","html_url":"https://github.com/IdentityServer/Thinktecture.IdentityServer3/issues/965#issuecomment-76163258","issue_url":"https://api.github.com/repos/IdentityServer/Thinktecture.IdentityServer3/issues/965","id":76163258,"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-02-26T11:31:51Z","updated_at":"2015-02-26T11:31:51Z","body":"I'd rather debug the user service in identity server."}}