{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/55287661","id":55287661,"diff_hunk":"@@ -20,7 +20,7 @@ var ViewModel = function() {\n         ).done(function (response) {\n             self.instNames(response.data.map(function(item){\n                 var name = item.attributes.name;\n-                self.insts[name] = item.attributes.auth_url;\n+                self.insts[name] = item.attributes.auth_url + '&target=' + decodeURIComponent(window.contextVars.institution_redirect);","path":"website/static/js/institutionSignIn.js","position":5,"original_position":5,"commit_id":"db36ba23e1d6ad770609af03bb04756727fda8a2","original_commit_id":"db36ba23e1d6ad770609af03bb04756727fda8a2","user":{"login":"icereval","id":3111541,"avatar_url":"https://avatars.githubusercontent.com/u/3111541?v=3","gravatar_id":"","url":"https://api.github.com/users/icereval","html_url":"https://github.com/icereval","followers_url":"https://api.github.com/users/icereval/followers","following_url":"https://api.github.com/users/icereval/following{/other_user}","gists_url":"https://api.github.com/users/icereval/gists{/gist_id}","starred_url":"https://api.github.com/users/icereval/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/icereval/subscriptions","organizations_url":"https://api.github.com/users/icereval/orgs","repos_url":"https://api.github.com/users/icereval/repos","events_url":"https://api.github.com/users/icereval/events{/privacy}","received_events_url":"https://api.github.com/users/icereval/received_events","type":"User","site_admin":false},"body":"`encodeURIComponent`","created_at":"2016-03-07T22:52:49Z","updated_at":"2016-03-07T22:52:49Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5140#discussion_r55287661","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/55287661"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/5140#discussion_r55287661"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140","id":61991430,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5140","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/5140.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/5140.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5140","number":5140,"state":"open","locked":false,"title":"more ","user":{"login":"hmoco","id":6268982,"avatar_url":"https://avatars.githubusercontent.com/u/6268982?v=3","gravatar_id":"","url":"https://api.github.com/users/hmoco","html_url":"https://github.com/hmoco","followers_url":"https://api.github.com/users/hmoco/followers","following_url":"https://api.github.com/users/hmoco/following{/other_user}","gists_url":"https://api.github.com/users/hmoco/gists{/gist_id}","starred_url":"https://api.github.com/users/hmoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmoco/subscriptions","organizations_url":"https://api.github.com/users/hmoco/orgs","repos_url":"https://api.github.com/users/hmoco/repos","events_url":"https://api.github.com/users/hmoco/events{/privacy}","received_events_url":"https://api.github.com/users/hmoco/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-07T22:23:26Z","updated_at":"2016-03-07T22:52:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"205b270941bb07fe2fd54092395fe05437b39338","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5140/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/db36ba23e1d6ad770609af03bb04756727fda8a2","head":{"label":"hmoco:cross-domain","ref":"cross-domain","sha":"db36ba23e1d6ad770609af03bb04756727fda8a2","user":{"login":"hmoco","id":6268982,"avatar_url":"https://avatars.githubusercontent.com/u/6268982?v=3","gravatar_id":"","url":"https://api.github.com/users/hmoco","html_url":"https://github.com/hmoco","followers_url":"https://api.github.com/users/hmoco/followers","following_url":"https://api.github.com/users/hmoco/following{/other_user}","gists_url":"https://api.github.com/users/hmoco/gists{/gist_id}","starred_url":"https://api.github.com/users/hmoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmoco/subscriptions","organizations_url":"https://api.github.com/users/hmoco/orgs","repos_url":"https://api.github.com/users/hmoco/repos","events_url":"https://api.github.com/users/hmoco/events{/privacy}","received_events_url":"https://api.github.com/users/hmoco/received_events","type":"User","site_admin":false},"repo":{"id":36302791,"name":"osf.io","full_name":"hmoco/osf.io","owner":{"login":"hmoco","id":6268982,"avatar_url":"https://avatars.githubusercontent.com/u/6268982?v=3","gravatar_id":"","url":"https://api.github.com/users/hmoco","html_url":"https://github.com/hmoco","followers_url":"https://api.github.com/users/hmoco/followers","following_url":"https://api.github.com/users/hmoco/following{/other_user}","gists_url":"https://api.github.com/users/hmoco/gists{/gist_id}","starred_url":"https://api.github.com/users/hmoco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmoco/subscriptions","organizations_url":"https://api.github.com/users/hmoco/orgs","repos_url":"https://api.github.com/users/hmoco/repos","events_url":"https://api.github.com/users/hmoco/events{/privacy}","received_events_url":"https://api.github.com/users/hmoco/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hmoco/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/hmoco/osf.io","forks_url":"https://api.github.com/repos/hmoco/osf.io/forks","keys_url":"https://api.github.com/repos/hmoco/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmoco/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmoco/osf.io/teams","hooks_url":"https://api.github.com/repos/hmoco/osf.io/hooks","issue_events_url":"https://api.github.com/repos/hmoco/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/hmoco/osf.io/events","assignees_url":"https://api.github.com/repos/hmoco/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/hmoco/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/hmoco/osf.io/tags","blobs_url":"https://api.github.com/repos/hmoco/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmoco/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmoco/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmoco/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmoco/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/hmoco/osf.io/languages","stargazers_url":"https://api.github.com/repos/hmoco/osf.io/stargazers","contributors_url":"https://api.github.com/repos/hmoco/osf.io/contributors","subscribers_url":"https://api.github.com/repos/hmoco/osf.io/subscribers","subscription_url":"https://api.github.com/repos/hmoco/osf.io/subscription","commits_url":"https://api.github.com/repos/hmoco/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmoco/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmoco/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmoco/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmoco/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/hmoco/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmoco/osf.io/merges","archive_url":"https://api.github.com/repos/hmoco/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmoco/osf.io/downloads","issues_url":"https://api.github.com/repos/hmoco/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/hmoco/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/hmoco/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/hmoco/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmoco/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/hmoco/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/hmoco/osf.io/deployments","created_at":"2015-05-26T14:49:58Z","updated_at":"2016-02-02T15:12:23Z","pushed_at":"2016-03-07T22:21:13Z","git_url":"git://github.com/hmoco/osf.io.git","ssh_url":"git@github.com:hmoco/osf.io.git","clone_url":"https://github.com/hmoco/osf.io.git","svn_url":"https://github.com/hmoco/osf.io","homepage":"http://osf.io","size":124478,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:feature/institution-autodeploy","ref":"feature/institution-autodeploy","sha":"4b5744f1bc1a771f961a553afe612d3159de1bc8","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/deployments","created_at":"2013-05-21T15:53:37Z","updated_at":"2016-03-03T06:04:49Z","pushed_at":"2016-03-07T22:25:54Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":267395,"stargazers_count":197,"watchers_count":197,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":152,"mirror_url":null,"open_issues_count":331,"forks":152,"open_issues":331,"watchers":197,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/5140"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5140"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5140/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5140/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/db36ba23e1d6ad770609af03bb04756727fda8a2"}}}}