{"action":"opened","issue":{"url":"https://api.github.com/repos/schibsted/account-sdk-browser/issues/104","repository_url":"https://api.github.com/repos/schibsted/account-sdk-browser","labels_url":"https://api.github.com/repos/schibsted/account-sdk-browser/issues/104/labels{/name}","comments_url":"https://api.github.com/repos/schibsted/account-sdk-browser/issues/104/comments","events_url":"https://api.github.com/repos/schibsted/account-sdk-browser/issues/104/events","html_url":"https://github.com/schibsted/account-sdk-browser/issues/104","id":377317888,"node_id":"MDU6SXNzdWUzNzczMTc4ODg=","number":104,"title":"Don't throw for logged out users","user":{"login":"vasklund","id":5039480,"node_id":"MDQ6VXNlcjUwMzk0ODA=","avatar_url":"https://avatars1.githubusercontent.com/u/5039480?v=4","gravatar_id":"","url":"https://api.github.com/users/vasklund","html_url":"https://github.com/vasklund","followers_url":"https://api.github.com/users/vasklund/followers","following_url":"https://api.github.com/users/vasklund/following{/other_user}","gists_url":"https://api.github.com/users/vasklund/gists{/gist_id}","starred_url":"https://api.github.com/users/vasklund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vasklund/subscriptions","organizations_url":"https://api.github.com/users/vasklund/orgs","repos_url":"https://api.github.com/users/vasklund/repos","events_url":"https://api.github.com/users/vasklund/events{/privacy}","received_events_url":"https://api.github.com/users/vasklund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-05T09:38:15Z","updated_at":"2018-11-05T09:38:15Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"This is a suggestion to not throw an error when calling `Identity.hasSession()` in a browser without an active session (user is logged out). For example this makes it harder to distinguish real errors in the `Identity.on('error', callback)` function.\r\n\r\nCompare with for example the browser `fetch` API: https://developer.mozilla.org/en-US/docs/Web/API/Response, where only network errors are thrown as \"real errors\", and everything else is successful but together with a statusCode.\r\n\r\nSuggestion from SvD 😃 "}}
{"actor":{"display_login":"vasklund"}}