{"action":"closed","number":489,"pull_request":{"url":"https://api.github.com/repos/adsabs/bumblebee/pulls/489","id":40080301,"html_url":"https://github.com/adsabs/bumblebee/pull/489","diff_url":"https://github.com/adsabs/bumblebee/pull/489.diff","patch_url":"https://github.com/adsabs/bumblebee/pull/489.patch","issue_url":"https://api.github.com/repos/adsabs/bumblebee/issues/489","number":489,"state":"closed","locked":false,"title":"Hotfix/issue#324/ocird token revoke part2","user":{"login":"jonnybazookatone","id":633540,"avatar_url":"https://avatars.githubusercontent.com/u/633540?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnybazookatone","html_url":"https://github.com/jonnybazookatone","followers_url":"https://api.github.com/users/jonnybazookatone/followers","following_url":"https://api.github.com/users/jonnybazookatone/following{/other_user}","gists_url":"https://api.github.com/users/jonnybazookatone/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnybazookatone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnybazookatone/subscriptions","organizations_url":"https://api.github.com/users/jonnybazookatone/orgs","repos_url":"https://api.github.com/users/jonnybazookatone/repos","events_url":"https://api.github.com/users/jonnybazookatone/events{/privacy}","received_events_url":"https://api.github.com/users/jonnybazookatone/received_events","type":"User","site_admin":false},"body":"This is part 2 of issue #324, which should officially close it. This addresses the behaviour for when someone revokes their ORCID token when they have a BBBB session open at the same time. If they were to click a widget, such as 'Claim in ORCID', it would return a 401 error, and any widgets would remain spinning.\r\n    \r\nThe 401 error is now intercepted at the discovery_mediator level, such that it checks to see if it is an ORCID error. If it is indeed when accessing ORCID, the user is logged out of their ORCID, and informed that they may have revoked their token - as such, they must log back in via the ORCID panel.","created_at":"2015-07-15T23:18:45Z","updated_at":"2015-07-16T20:20:52Z","closed_at":"2015-07-16T20:20:52Z","merged_at":"2015-07-16T20:20:52Z","merge_commit_sha":"702de3a564f4f4e0b7692eec7eb3996f8d5084dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/adsabs/bumblebee/pulls/489/commits","review_comments_url":"https://api.github.com/repos/adsabs/bumblebee/pulls/489/comments","review_comment_url":"https://api.github.com/repos/adsabs/bumblebee/pulls/comments{/number}","comments_url":"https://api.github.com/repos/adsabs/bumblebee/issues/489/comments","statuses_url":"https://api.github.com/repos/adsabs/bumblebee/statuses/8f3622daee795ee2aae3226bb3d72fb43e257d15","head":{"label":"jonnybazookatone:hotfix/issue#324/ocird-token-revoke-part2","ref":"hotfix/issue#324/ocird-token-revoke-part2","sha":"8f3622daee795ee2aae3226bb3d72fb43e257d15","user":{"login":"jonnybazookatone","id":633540,"avatar_url":"https://avatars.githubusercontent.com/u/633540?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnybazookatone","html_url":"https://github.com/jonnybazookatone","followers_url":"https://api.github.com/users/jonnybazookatone/followers","following_url":"https://api.github.com/users/jonnybazookatone/following{/other_user}","gists_url":"https://api.github.com/users/jonnybazookatone/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnybazookatone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnybazookatone/subscriptions","organizations_url":"https://api.github.com/users/jonnybazookatone/orgs","repos_url":"https://api.github.com/users/jonnybazookatone/repos","events_url":"https://api.github.com/users/jonnybazookatone/events{/privacy}","received_events_url":"https://api.github.com/users/jonnybazookatone/received_events","type":"User","site_admin":false},"repo":{"id":38135893,"name":"bumblebee","full_name":"jonnybazookatone/bumblebee","owner":{"login":"jonnybazookatone","id":633540,"avatar_url":"https://avatars.githubusercontent.com/u/633540?v=3","gravatar_id":"","url":"https://api.github.com/users/jonnybazookatone","html_url":"https://github.com/jonnybazookatone","followers_url":"https://api.github.com/users/jonnybazookatone/followers","following_url":"https://api.github.com/users/jonnybazookatone/following{/other_user}","gists_url":"https://api.github.com/users/jonnybazookatone/gists{/gist_id}","starred_url":"https://api.github.com/users/jonnybazookatone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonnybazookatone/subscriptions","organizations_url":"https://api.github.com/users/jonnybazookatone/orgs","repos_url":"https://api.github.com/users/jonnybazookatone/repos","events_url":"https://api.github.com/users/jonnybazookatone/events{/privacy}","received_events_url":"https://api.github.com/users/jonnybazookatone/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonnybazookatone/bumblebee","description":"Clever face for ADS","fork":true,"url":"https://api.github.com/repos/jonnybazookatone/bumblebee","forks_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/forks","keys_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/teams","hooks_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/hooks","issue_events_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/issues/events{/number}","events_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/events","assignees_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/assignees{/user}","branches_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/branches{/branch}","tags_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/tags","blobs_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/statuses/{sha}","languages_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/languages","stargazers_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/stargazers","contributors_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/contributors","subscribers_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/subscribers","subscription_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/subscription","commits_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/contents/{+path}","compare_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/merges","archive_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/downloads","issues_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/issues{/number}","pulls_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/pulls{/number}","milestones_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/milestones{/number}","notifications_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/labels{/name}","releases_url":"https://api.github.com/repos/jonnybazookatone/bumblebee/releases{/id}","created_at":"2015-06-26T21:56:52Z","updated_at":"2015-06-26T21:56:54Z","pushed_at":"2015-07-15T23:14:35Z","git_url":"git://github.com/jonnybazookatone/bumblebee.git","ssh_url":"git@github.com:jonnybazookatone/bumblebee.git","clone_url":"https://github.com/jonnybazookatone/bumblebee.git","svn_url":"https://github.com/jonnybazookatone/bumblebee","homepage":"","size":13762,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"adsabs:master","ref":"master","sha":"65a15f5eaf52f69773d7be2799b1ef4c2b5bfdd5","user":{"login":"adsabs","id":1004839,"avatar_url":"https://avatars.githubusercontent.com/u/1004839?v=3","gravatar_id":"","url":"https://api.github.com/users/adsabs","html_url":"https://github.com/adsabs","followers_url":"https://api.github.com/users/adsabs/followers","following_url":"https://api.github.com/users/adsabs/following{/other_user}","gists_url":"https://api.github.com/users/adsabs/gists{/gist_id}","starred_url":"https://api.github.com/users/adsabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adsabs/subscriptions","organizations_url":"https://api.github.com/users/adsabs/orgs","repos_url":"https://api.github.com/users/adsabs/repos","events_url":"https://api.github.com/users/adsabs/events{/privacy}","received_events_url":"https://api.github.com/users/adsabs/received_events","type":"Organization","site_admin":false},"repo":{"id":17075030,"name":"bumblebee","full_name":"adsabs/bumblebee","owner":{"login":"adsabs","id":1004839,"avatar_url":"https://avatars.githubusercontent.com/u/1004839?v=3","gravatar_id":"","url":"https://api.github.com/users/adsabs","html_url":"https://github.com/adsabs","followers_url":"https://api.github.com/users/adsabs/followers","following_url":"https://api.github.com/users/adsabs/following{/other_user}","gists_url":"https://api.github.com/users/adsabs/gists{/gist_id}","starred_url":"https://api.github.com/users/adsabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adsabs/subscriptions","organizations_url":"https://api.github.com/users/adsabs/orgs","repos_url":"https://api.github.com/users/adsabs/repos","events_url":"https://api.github.com/users/adsabs/events{/privacy}","received_events_url":"https://api.github.com/users/adsabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/adsabs/bumblebee","description":"Clever face for ADS","fork":false,"url":"https://api.github.com/repos/adsabs/bumblebee","forks_url":"https://api.github.com/repos/adsabs/bumblebee/forks","keys_url":"https://api.github.com/repos/adsabs/bumblebee/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adsabs/bumblebee/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adsabs/bumblebee/teams","hooks_url":"https://api.github.com/repos/adsabs/bumblebee/hooks","issue_events_url":"https://api.github.com/repos/adsabs/bumblebee/issues/events{/number}","events_url":"https://api.github.com/repos/adsabs/bumblebee/events","assignees_url":"https://api.github.com/repos/adsabs/bumblebee/assignees{/user}","branches_url":"https://api.github.com/repos/adsabs/bumblebee/branches{/branch}","tags_url":"https://api.github.com/repos/adsabs/bumblebee/tags","blobs_url":"https://api.github.com/repos/adsabs/bumblebee/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adsabs/bumblebee/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adsabs/bumblebee/git/refs{/sha}","trees_url":"https://api.github.com/repos/adsabs/bumblebee/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adsabs/bumblebee/statuses/{sha}","languages_url":"https://api.github.com/repos/adsabs/bumblebee/languages","stargazers_url":"https://api.github.com/repos/adsabs/bumblebee/stargazers","contributors_url":"https://api.github.com/repos/adsabs/bumblebee/contributors","subscribers_url":"https://api.github.com/repos/adsabs/bumblebee/subscribers","subscription_url":"https://api.github.com/repos/adsabs/bumblebee/subscription","commits_url":"https://api.github.com/repos/adsabs/bumblebee/commits{/sha}","git_commits_url":"https://api.github.com/repos/adsabs/bumblebee/git/commits{/sha}","comments_url":"https://api.github.com/repos/adsabs/bumblebee/comments{/number}","issue_comment_url":"https://api.github.com/repos/adsabs/bumblebee/issues/comments{/number}","contents_url":"https://api.github.com/repos/adsabs/bumblebee/contents/{+path}","compare_url":"https://api.github.com/repos/adsabs/bumblebee/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adsabs/bumblebee/merges","archive_url":"https://api.github.com/repos/adsabs/bumblebee/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adsabs/bumblebee/downloads","issues_url":"https://api.github.com/repos/adsabs/bumblebee/issues{/number}","pulls_url":"https://api.github.com/repos/adsabs/bumblebee/pulls{/number}","milestones_url":"https://api.github.com/repos/adsabs/bumblebee/milestones{/number}","notifications_url":"https://api.github.com/repos/adsabs/bumblebee/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adsabs/bumblebee/labels{/name}","releases_url":"https://api.github.com/repos/adsabs/bumblebee/releases{/id}","created_at":"2014-02-22T00:59:37Z","updated_at":"2015-06-29T17:37:59Z","pushed_at":"2015-07-16T20:20:52Z","git_url":"git://github.com/adsabs/bumblebee.git","ssh_url":"git@github.com:adsabs/bumblebee.git","clone_url":"https://github.com/adsabs/bumblebee.git","svn_url":"https://github.com/adsabs/bumblebee","homepage":"","size":18081,"stargazers_count":8,"watchers_count":8,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":34,"forks":8,"open_issues":34,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/adsabs/bumblebee/pulls/489"},"html":{"href":"https://github.com/adsabs/bumblebee/pull/489"},"issue":{"href":"https://api.github.com/repos/adsabs/bumblebee/issues/489"},"comments":{"href":"https://api.github.com/repos/adsabs/bumblebee/issues/489/comments"},"review_comments":{"href":"https://api.github.com/repos/adsabs/bumblebee/pulls/489/comments"},"review_comment":{"href":"https://api.github.com/repos/adsabs/bumblebee/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/adsabs/bumblebee/pulls/489/commits"},"statuses":{"href":"https://api.github.com/repos/adsabs/bumblebee/statuses/8f3622daee795ee2aae3226bb3d72fb43e257d15"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"romanchyla","id":411794,"avatar_url":"https://avatars.githubusercontent.com/u/411794?v=3","gravatar_id":"","url":"https://api.github.com/users/romanchyla","html_url":"https://github.com/romanchyla","followers_url":"https://api.github.com/users/romanchyla/followers","following_url":"https://api.github.com/users/romanchyla/following{/other_user}","gists_url":"https://api.github.com/users/romanchyla/gists{/gist_id}","starred_url":"https://api.github.com/users/romanchyla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romanchyla/subscriptions","organizations_url":"https://api.github.com/users/romanchyla/orgs","repos_url":"https://api.github.com/users/romanchyla/repos","events_url":"https://api.github.com/users/romanchyla/events{/privacy}","received_events_url":"https://api.github.com/users/romanchyla/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":6,"additions":95,"deletions":3,"changed_files":2}}