{"action":"created","issue":{"url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient/issues/20","repository_url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient","labels_url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient/issues/20/comments","events_url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient/issues/20/events","html_url":"https://github.com/IdentityModel/IdentityModel.OidcClient/issues/20","id":165877268,"number":20,"title":"LogoutAsync results in NullReferenceException","user":{"login":"rdavisunr","id":8481440,"avatar_url":"https://avatars.githubusercontent.com/u/8481440?v=3","gravatar_id":"","url":"https://api.github.com/users/rdavisunr","html_url":"https://github.com/rdavisunr","followers_url":"https://api.github.com/users/rdavisunr/followers","following_url":"https://api.github.com/users/rdavisunr/following{/other_user}","gists_url":"https://api.github.com/users/rdavisunr/gists{/gist_id}","starred_url":"https://api.github.com/users/rdavisunr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdavisunr/subscriptions","organizations_url":"https://api.github.com/users/rdavisunr/orgs","repos_url":"https://api.github.com/users/rdavisunr/repos","events_url":"https://api.github.com/users/rdavisunr/events{/privacy}","received_events_url":"https://api.github.com/users/rdavisunr/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-15T21:04:00Z","updated_at":"2016-07-17T15:41:54Z","closed_at":"2016-07-17T15:41:54Z","body":"The `LogoutAsync` method surfaces a NullReferenceException if the Manual interaction process is followed (`PrepareLoginAsync` followed by `ValidateResponseAsync`). This is because the AuthorizeClient's `EndSessionAsync` uses the WebView that could have optionally been passed to `OidcClientOptions`. \r\n\r\nThe `LoginAsync `method throws an InvalidOperationException when no WebView is present; perhaps `LogoutAsync `should have the same behavior?\r\n\r\nIn any case, how can Logout be achieved when the Manual interaction process is followed?"},"comment":{"url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient/issues/comments/233188144","html_url":"https://github.com/IdentityModel/IdentityModel.OidcClient/issues/20#issuecomment-233188144","issue_url":"https://api.github.com/repos/IdentityModel/IdentityModel.OidcClient/issues/20","id":233188144,"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":"2016-07-17T15:41:54Z","updated_at":"2016-07-17T15:41:54Z","body":"added an InvalidOperationException for now. Until we have a better solution."}}
{"actor":{"display_login":"leastprivilege"}}