{"action":"opened","number":52,"pull_request":{"url":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/52","id":37311838,"html_url":"https://github.com/synapsestudios/synapse-common/pull/52","diff_url":"https://github.com/synapsestudios/synapse-common/pull/52.diff","patch_url":"https://github.com/synapsestudios/synapse-common/pull/52.patch","issue_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues/52","number":52,"state":"open","locked":false,"title":"Refresh token handling broken","user":{"login":"paulstatezny","id":4662353,"avatar_url":"https://avatars.githubusercontent.com/u/4662353?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstatezny","html_url":"https://github.com/paulstatezny","followers_url":"https://api.github.com/users/paulstatezny/followers","following_url":"https://api.github.com/users/paulstatezny/following{/other_user}","gists_url":"https://api.github.com/users/paulstatezny/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstatezny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstatezny/subscriptions","organizations_url":"https://api.github.com/users/paulstatezny/orgs","repos_url":"https://api.github.com/users/paulstatezny/repos","events_url":"https://api.github.com/users/paulstatezny/events{/privacy}","received_events_url":"https://api.github.com/users/paulstatezny/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\nIt was refactored to work on lively, and now it's broken for all other apps. The refresh request is dispatched, but the re-sent requests are all sent with the original token.","created_at":"2015-06-09T23:38:09Z","updated_at":"2015-06-09T23:38:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":{"login":"paulstatezny","id":4662353,"avatar_url":"https://avatars.githubusercontent.com/u/4662353?v=3","gravatar_id":"","url":"https://api.github.com/users/paulstatezny","html_url":"https://github.com/paulstatezny","followers_url":"https://api.github.com/users/paulstatezny/followers","following_url":"https://api.github.com/users/paulstatezny/following{/other_user}","gists_url":"https://api.github.com/users/paulstatezny/gists{/gist_id}","starred_url":"https://api.github.com/users/paulstatezny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulstatezny/subscriptions","organizations_url":"https://api.github.com/users/paulstatezny/orgs","repos_url":"https://api.github.com/users/paulstatezny/repos","events_url":"https://api.github.com/users/paulstatezny/events{/privacy}","received_events_url":"https://api.github.com/users/paulstatezny/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/synapsestudios/synapse-common/milestones/1","html_url":"https://github.com/synapsestudios/synapse-common/milestones/Sprint%20%E2%88%9E","labels_url":"https://api.github.com/repos/synapsestudios/synapse-common/milestones/1/labels","id":708259,"number":1,"title":"Sprint ∞","description":"","creator":{"login":"bobeagan","id":100226,"avatar_url":"https://avatars.githubusercontent.com/u/100226?v=3","gravatar_id":"","url":"https://api.github.com/users/bobeagan","html_url":"https://github.com/bobeagan","followers_url":"https://api.github.com/users/bobeagan/followers","following_url":"https://api.github.com/users/bobeagan/following{/other_user}","gists_url":"https://api.github.com/users/bobeagan/gists{/gist_id}","starred_url":"https://api.github.com/users/bobeagan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobeagan/subscriptions","organizations_url":"https://api.github.com/users/bobeagan/orgs","repos_url":"https://api.github.com/users/bobeagan/repos","events_url":"https://api.github.com/users/bobeagan/events{/privacy}","received_events_url":"https://api.github.com/users/bobeagan/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":45,"state":"open","created_at":"2014-07-02T16:18:14Z","updated_at":"2015-06-09T23:36:50Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/52/commits","review_comments_url":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/52/comments","review_comment_url":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/comments{/number}","comments_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues/52/comments","statuses_url":"https://api.github.com/repos/synapsestudios/synapse-common/statuses/c9e5d6f61873450dbc580ca705a75cc2dd94199a","head":{"label":"synapsestudios:bugfix/52-refresh-token","ref":"bugfix/52-refresh-token","sha":"c9e5d6f61873450dbc580ca705a75cc2dd94199a","user":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"repo":{"id":19247850,"name":"synapse-common","full_name":"synapsestudios/synapse-common","owner":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synapsestudios/synapse-common","description":"","fork":false,"url":"https://api.github.com/repos/synapsestudios/synapse-common","forks_url":"https://api.github.com/repos/synapsestudios/synapse-common/forks","keys_url":"https://api.github.com/repos/synapsestudios/synapse-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synapsestudios/synapse-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synapsestudios/synapse-common/teams","hooks_url":"https://api.github.com/repos/synapsestudios/synapse-common/hooks","issue_events_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues/events{/number}","events_url":"https://api.github.com/repos/synapsestudios/synapse-common/events","assignees_url":"https://api.github.com/repos/synapsestudios/synapse-common/assignees{/user}","branches_url":"https://api.github.com/repos/synapsestudios/synapse-common/branches{/branch}","tags_url":"https://api.github.com/repos/synapsestudios/synapse-common/tags","blobs_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synapsestudios/synapse-common/statuses/{sha}","languages_url":"https://api.github.com/repos/synapsestudios/synapse-common/languages","stargazers_url":"https://api.github.com/repos/synapsestudios/synapse-common/stargazers","contributors_url":"https://api.github.com/repos/synapsestudios/synapse-common/contributors","subscribers_url":"https://api.github.com/repos/synapsestudios/synapse-common/subscribers","subscription_url":"https://api.github.com/repos/synapsestudios/synapse-common/subscription","commits_url":"https://api.github.com/repos/synapsestudios/synapse-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/synapsestudios/synapse-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/synapsestudios/synapse-common/contents/{+path}","compare_url":"https://api.github.com/repos/synapsestudios/synapse-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synapsestudios/synapse-common/merges","archive_url":"https://api.github.com/repos/synapsestudios/synapse-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synapsestudios/synapse-common/downloads","issues_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues{/number}","pulls_url":"https://api.github.com/repos/synapsestudios/synapse-common/pulls{/number}","milestones_url":"https://api.github.com/repos/synapsestudios/synapse-common/milestones{/number}","notifications_url":"https://api.github.com/repos/synapsestudios/synapse-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synapsestudios/synapse-common/labels{/name}","releases_url":"https://api.github.com/repos/synapsestudios/synapse-common/releases{/id}","created_at":"2014-04-28T17:40:09Z","updated_at":"2015-04-29T23:11:49Z","pushed_at":"2015-06-09T23:38:10Z","git_url":"git://github.com/synapsestudios/synapse-common.git","ssh_url":"git@github.com:synapsestudios/synapse-common.git","clone_url":"https://github.com/synapsestudios/synapse-common.git","svn_url":"https://github.com/synapsestudios/synapse-common","homepage":null,"size":1483,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"base":{"label":"synapsestudios:master","ref":"master","sha":"ff865daa7da29b62805174304c4a5660a6b776e8","user":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"repo":{"id":19247850,"name":"synapse-common","full_name":"synapsestudios/synapse-common","owner":{"login":"synapsestudios","id":197868,"avatar_url":"https://avatars.githubusercontent.com/u/197868?v=3","gravatar_id":"","url":"https://api.github.com/users/synapsestudios","html_url":"https://github.com/synapsestudios","followers_url":"https://api.github.com/users/synapsestudios/followers","following_url":"https://api.github.com/users/synapsestudios/following{/other_user}","gists_url":"https://api.github.com/users/synapsestudios/gists{/gist_id}","starred_url":"https://api.github.com/users/synapsestudios/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/synapsestudios/subscriptions","organizations_url":"https://api.github.com/users/synapsestudios/orgs","repos_url":"https://api.github.com/users/synapsestudios/repos","events_url":"https://api.github.com/users/synapsestudios/events{/privacy}","received_events_url":"https://api.github.com/users/synapsestudios/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/synapsestudios/synapse-common","description":"","fork":false,"url":"https://api.github.com/repos/synapsestudios/synapse-common","forks_url":"https://api.github.com/repos/synapsestudios/synapse-common/forks","keys_url":"https://api.github.com/repos/synapsestudios/synapse-common/keys{/key_id}","collaborators_url":"https://api.github.com/repos/synapsestudios/synapse-common/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/synapsestudios/synapse-common/teams","hooks_url":"https://api.github.com/repos/synapsestudios/synapse-common/hooks","issue_events_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues/events{/number}","events_url":"https://api.github.com/repos/synapsestudios/synapse-common/events","assignees_url":"https://api.github.com/repos/synapsestudios/synapse-common/assignees{/user}","branches_url":"https://api.github.com/repos/synapsestudios/synapse-common/branches{/branch}","tags_url":"https://api.github.com/repos/synapsestudios/synapse-common/tags","blobs_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/refs{/sha}","trees_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/trees{/sha}","statuses_url":"https://api.github.com/repos/synapsestudios/synapse-common/statuses/{sha}","languages_url":"https://api.github.com/repos/synapsestudios/synapse-common/languages","stargazers_url":"https://api.github.com/repos/synapsestudios/synapse-common/stargazers","contributors_url":"https://api.github.com/repos/synapsestudios/synapse-common/contributors","subscribers_url":"https://api.github.com/repos/synapsestudios/synapse-common/subscribers","subscription_url":"https://api.github.com/repos/synapsestudios/synapse-common/subscription","commits_url":"https://api.github.com/repos/synapsestudios/synapse-common/commits{/sha}","git_commits_url":"https://api.github.com/repos/synapsestudios/synapse-common/git/commits{/sha}","comments_url":"https://api.github.com/repos/synapsestudios/synapse-common/comments{/number}","issue_comment_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues/comments{/number}","contents_url":"https://api.github.com/repos/synapsestudios/synapse-common/contents/{+path}","compare_url":"https://api.github.com/repos/synapsestudios/synapse-common/compare/{base}...{head}","merges_url":"https://api.github.com/repos/synapsestudios/synapse-common/merges","archive_url":"https://api.github.com/repos/synapsestudios/synapse-common/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/synapsestudios/synapse-common/downloads","issues_url":"https://api.github.com/repos/synapsestudios/synapse-common/issues{/number}","pulls_url":"https://api.github.com/repos/synapsestudios/synapse-common/pulls{/number}","milestones_url":"https://api.github.com/repos/synapsestudios/synapse-common/milestones{/number}","notifications_url":"https://api.github.com/repos/synapsestudios/synapse-common/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/synapsestudios/synapse-common/labels{/name}","releases_url":"https://api.github.com/repos/synapsestudios/synapse-common/releases{/id}","created_at":"2014-04-28T17:40:09Z","updated_at":"2015-04-29T23:11:49Z","pushed_at":"2015-06-09T23:38:10Z","git_url":"git://github.com/synapsestudios/synapse-common.git","ssh_url":"git@github.com:synapsestudios/synapse-common.git","clone_url":"https://github.com/synapsestudios/synapse-common.git","svn_url":"https://github.com/synapsestudios/synapse-common","homepage":null,"size":1483,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":7,"forks":1,"open_issues":7,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/52"},"html":{"href":"https://github.com/synapsestudios/synapse-common/pull/52"},"issue":{"href":"https://api.github.com/repos/synapsestudios/synapse-common/issues/52"},"comments":{"href":"https://api.github.com/repos/synapsestudios/synapse-common/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/synapsestudios/synapse-common/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/synapsestudios/synapse-common/statuses/c9e5d6f61873450dbc580ca705a75cc2dd94199a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":3,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}