{"action":"created","comment":{"url":"https://api.github.com/repos/slamdata/slamdata/pulls/comments/52664892","id":52664892,"diff_hunk":"@@ -23,11 +26,19 @@ authHeader (IdToken tok) =\n     \"Authorization\"\n     (\"Bearer \" <> tok)\n \n+idTokenSessionStorageKey :: String\n+idTokenSessionStorageKey = \"id-token\"","path":"src/Quasar/Auth.purs","position":27,"original_position":27,"commit_id":"bfdbd9cbb0fb350d702d042b8a965b430df33069","original_commit_id":"bfdbd9cbb0fb350d702d042b8a965b430df33069","user":{"login":"jonsterling","id":55057,"avatar_url":"https://avatars.githubusercontent.com/u/55057?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsterling","html_url":"https://github.com/jonsterling","followers_url":"https://api.github.com/users/jonsterling/followers","following_url":"https://api.github.com/users/jonsterling/following{/other_user}","gists_url":"https://api.github.com/users/jonsterling/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsterling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsterling/subscriptions","organizations_url":"https://api.github.com/users/jonsterling/orgs","repos_url":"https://api.github.com/users/jonsterling/repos","events_url":"https://api.github.com/users/jonsterling/events{/privacy}","received_events_url":"https://api.github.com/users/jonsterling/received_events","type":"User","site_admin":false},"body":"@beckyconning I assume we should namespace this somehow? Any suggestions?","created_at":"2016-02-11T20:52:27Z","updated_at":"2016-02-11T20:52:27Z","html_url":"https://github.com/slamdata/slamdata/pull/653#discussion_r52664892","pull_request_url":"https://api.github.com/repos/slamdata/slamdata/pulls/653","_links":{"self":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/comments/52664892"},"html":{"href":"https://github.com/slamdata/slamdata/pull/653#discussion_r52664892"},"pull_request":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/653"}}},"pull_request":{"url":"https://api.github.com/repos/slamdata/slamdata/pulls/653","id":59074654,"html_url":"https://github.com/slamdata/slamdata/pull/653","diff_url":"https://github.com/slamdata/slamdata/pull/653.diff","patch_url":"https://github.com/slamdata/slamdata/pull/653.patch","issue_url":"https://api.github.com/repos/slamdata/slamdata/issues/653","number":653,"state":"open","locked":false,"title":"SD-1377 / auth redirect (work in progress)","user":{"login":"jonsterling","id":55057,"avatar_url":"https://avatars.githubusercontent.com/u/55057?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsterling","html_url":"https://github.com/jonsterling","followers_url":"https://api.github.com/users/jonsterling/followers","following_url":"https://api.github.com/users/jonsterling/following{/other_user}","gists_url":"https://api.github.com/users/jonsterling/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsterling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsterling/subscriptions","organizations_url":"https://api.github.com/users/jonsterling/orgs","repos_url":"https://api.github.com/users/jonsterling/repos","events_url":"https://api.github.com/users/jonsterling/events{/privacy}","received_events_url":"https://api.github.com/users/jonsterling/received_events","type":"User","site_admin":false},"body":"To address [SD-1377](https://slamdata.atlassian.net/browse/SD-1377).\r\n\r\n- [x] read & parse hash string to pull out id token\r\n- [x] unbind state into redirect url\r\n- [x] verify id token (using dummy keys for now)\r\n- [x] if verification succeeds, store the id token and then redirect\r\n- [x] update `Quasar.Auth.retrieveIdToken` to read from local storage","created_at":"2016-02-11T18:41:36Z","updated_at":"2016-02-11T20:52:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a8e86cdf1f6e82ac7ea9aad269c15861eb6391bb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/slamdata/slamdata/pulls/653/commits","review_comments_url":"https://api.github.com/repos/slamdata/slamdata/pulls/653/comments","review_comment_url":"https://api.github.com/repos/slamdata/slamdata/pulls/comments{/number}","comments_url":"https://api.github.com/repos/slamdata/slamdata/issues/653/comments","statuses_url":"https://api.github.com/repos/slamdata/slamdata/statuses/bfdbd9cbb0fb350d702d042b8a965b430df33069","head":{"label":"jonsterling:SD-1377","ref":"SD-1377","sha":"bfdbd9cbb0fb350d702d042b8a965b430df33069","user":{"login":"jonsterling","id":55057,"avatar_url":"https://avatars.githubusercontent.com/u/55057?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsterling","html_url":"https://github.com/jonsterling","followers_url":"https://api.github.com/users/jonsterling/followers","following_url":"https://api.github.com/users/jonsterling/following{/other_user}","gists_url":"https://api.github.com/users/jonsterling/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsterling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsterling/subscriptions","organizations_url":"https://api.github.com/users/jonsterling/orgs","repos_url":"https://api.github.com/users/jonsterling/repos","events_url":"https://api.github.com/users/jonsterling/events{/privacy}","received_events_url":"https://api.github.com/users/jonsterling/received_events","type":"User","site_admin":false},"repo":{"id":40134623,"name":"slamdata","full_name":"jonsterling/slamdata","owner":{"login":"jonsterling","id":55057,"avatar_url":"https://avatars.githubusercontent.com/u/55057?v=3","gravatar_id":"","url":"https://api.github.com/users/jonsterling","html_url":"https://github.com/jonsterling","followers_url":"https://api.github.com/users/jonsterling/followers","following_url":"https://api.github.com/users/jonsterling/following{/other_user}","gists_url":"https://api.github.com/users/jonsterling/gists{/gist_id}","starred_url":"https://api.github.com/users/jonsterling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonsterling/subscriptions","organizations_url":"https://api.github.com/users/jonsterling/orgs","repos_url":"https://api.github.com/users/jonsterling/repos","events_url":"https://api.github.com/users/jonsterling/events{/privacy}","received_events_url":"https://api.github.com/users/jonsterling/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jonsterling/slamdata","description":"The web-based front-end for SlamData.","fork":true,"url":"https://api.github.com/repos/jonsterling/slamdata","forks_url":"https://api.github.com/repos/jonsterling/slamdata/forks","keys_url":"https://api.github.com/repos/jonsterling/slamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jonsterling/slamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jonsterling/slamdata/teams","hooks_url":"https://api.github.com/repos/jonsterling/slamdata/hooks","issue_events_url":"https://api.github.com/repos/jonsterling/slamdata/issues/events{/number}","events_url":"https://api.github.com/repos/jonsterling/slamdata/events","assignees_url":"https://api.github.com/repos/jonsterling/slamdata/assignees{/user}","branches_url":"https://api.github.com/repos/jonsterling/slamdata/branches{/branch}","tags_url":"https://api.github.com/repos/jonsterling/slamdata/tags","blobs_url":"https://api.github.com/repos/jonsterling/slamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jonsterling/slamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jonsterling/slamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/jonsterling/slamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jonsterling/slamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/jonsterling/slamdata/languages","stargazers_url":"https://api.github.com/repos/jonsterling/slamdata/stargazers","contributors_url":"https://api.github.com/repos/jonsterling/slamdata/contributors","subscribers_url":"https://api.github.com/repos/jonsterling/slamdata/subscribers","subscription_url":"https://api.github.com/repos/jonsterling/slamdata/subscription","commits_url":"https://api.github.com/repos/jonsterling/slamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/jonsterling/slamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/jonsterling/slamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/jonsterling/slamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/jonsterling/slamdata/contents/{+path}","compare_url":"https://api.github.com/repos/jonsterling/slamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jonsterling/slamdata/merges","archive_url":"https://api.github.com/repos/jonsterling/slamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jonsterling/slamdata/downloads","issues_url":"https://api.github.com/repos/jonsterling/slamdata/issues{/number}","pulls_url":"https://api.github.com/repos/jonsterling/slamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/jonsterling/slamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/jonsterling/slamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jonsterling/slamdata/labels{/name}","releases_url":"https://api.github.com/repos/jonsterling/slamdata/releases{/id}","deployments_url":"https://api.github.com/repos/jonsterling/slamdata/deployments","created_at":"2015-08-03T16:10:04Z","updated_at":"2016-01-18T23:43:36Z","pushed_at":"2016-02-11T20:52:12Z","git_url":"git://github.com/jonsterling/slamdata.git","ssh_url":"git@github.com:jonsterling/slamdata.git","clone_url":"https://github.com/jonsterling/slamdata.git","svn_url":"https://github.com/jonsterling/slamdata","homepage":null,"size":306557,"stargazers_count":0,"watchers_count":0,"language":"PureScript","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":0,"default_branch":"master"}},"base":{"label":"slamdata:master","ref":"master","sha":"8e29ee4168f9ee7b14f02e95354086720816070a","user":{"login":"slamdata","id":5385602,"avatar_url":"https://avatars.githubusercontent.com/u/5385602?v=3","gravatar_id":"","url":"https://api.github.com/users/slamdata","html_url":"https://github.com/slamdata","followers_url":"https://api.github.com/users/slamdata/followers","following_url":"https://api.github.com/users/slamdata/following{/other_user}","gists_url":"https://api.github.com/users/slamdata/gists{/gist_id}","starred_url":"https://api.github.com/users/slamdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slamdata/subscriptions","organizations_url":"https://api.github.com/users/slamdata/orgs","repos_url":"https://api.github.com/users/slamdata/repos","events_url":"https://api.github.com/users/slamdata/events{/privacy}","received_events_url":"https://api.github.com/users/slamdata/received_events","type":"Organization","site_admin":false},"repo":{"id":30566154,"name":"slamdata","full_name":"slamdata/slamdata","owner":{"login":"slamdata","id":5385602,"avatar_url":"https://avatars.githubusercontent.com/u/5385602?v=3","gravatar_id":"","url":"https://api.github.com/users/slamdata","html_url":"https://github.com/slamdata","followers_url":"https://api.github.com/users/slamdata/followers","following_url":"https://api.github.com/users/slamdata/following{/other_user}","gists_url":"https://api.github.com/users/slamdata/gists{/gist_id}","starred_url":"https://api.github.com/users/slamdata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/slamdata/subscriptions","organizations_url":"https://api.github.com/users/slamdata/orgs","repos_url":"https://api.github.com/users/slamdata/repos","events_url":"https://api.github.com/users/slamdata/events{/privacy}","received_events_url":"https://api.github.com/users/slamdata/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/slamdata/slamdata","description":"The web-based front-end for SlamData.","fork":false,"url":"https://api.github.com/repos/slamdata/slamdata","forks_url":"https://api.github.com/repos/slamdata/slamdata/forks","keys_url":"https://api.github.com/repos/slamdata/slamdata/keys{/key_id}","collaborators_url":"https://api.github.com/repos/slamdata/slamdata/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/slamdata/slamdata/teams","hooks_url":"https://api.github.com/repos/slamdata/slamdata/hooks","issue_events_url":"https://api.github.com/repos/slamdata/slamdata/issues/events{/number}","events_url":"https://api.github.com/repos/slamdata/slamdata/events","assignees_url":"https://api.github.com/repos/slamdata/slamdata/assignees{/user}","branches_url":"https://api.github.com/repos/slamdata/slamdata/branches{/branch}","tags_url":"https://api.github.com/repos/slamdata/slamdata/tags","blobs_url":"https://api.github.com/repos/slamdata/slamdata/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/slamdata/slamdata/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/slamdata/slamdata/git/refs{/sha}","trees_url":"https://api.github.com/repos/slamdata/slamdata/git/trees{/sha}","statuses_url":"https://api.github.com/repos/slamdata/slamdata/statuses/{sha}","languages_url":"https://api.github.com/repos/slamdata/slamdata/languages","stargazers_url":"https://api.github.com/repos/slamdata/slamdata/stargazers","contributors_url":"https://api.github.com/repos/slamdata/slamdata/contributors","subscribers_url":"https://api.github.com/repos/slamdata/slamdata/subscribers","subscription_url":"https://api.github.com/repos/slamdata/slamdata/subscription","commits_url":"https://api.github.com/repos/slamdata/slamdata/commits{/sha}","git_commits_url":"https://api.github.com/repos/slamdata/slamdata/git/commits{/sha}","comments_url":"https://api.github.com/repos/slamdata/slamdata/comments{/number}","issue_comment_url":"https://api.github.com/repos/slamdata/slamdata/issues/comments{/number}","contents_url":"https://api.github.com/repos/slamdata/slamdata/contents/{+path}","compare_url":"https://api.github.com/repos/slamdata/slamdata/compare/{base}...{head}","merges_url":"https://api.github.com/repos/slamdata/slamdata/merges","archive_url":"https://api.github.com/repos/slamdata/slamdata/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/slamdata/slamdata/downloads","issues_url":"https://api.github.com/repos/slamdata/slamdata/issues{/number}","pulls_url":"https://api.github.com/repos/slamdata/slamdata/pulls{/number}","milestones_url":"https://api.github.com/repos/slamdata/slamdata/milestones{/number}","notifications_url":"https://api.github.com/repos/slamdata/slamdata/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/slamdata/slamdata/labels{/name}","releases_url":"https://api.github.com/repos/slamdata/slamdata/releases{/id}","deployments_url":"https://api.github.com/repos/slamdata/slamdata/deployments","created_at":"2015-02-10T00:14:37Z","updated_at":"2016-02-09T10:27:32Z","pushed_at":"2016-02-11T20:52:12Z","git_url":"git://github.com/slamdata/slamdata.git","ssh_url":"git@github.com:slamdata/slamdata.git","clone_url":"https://github.com/slamdata/slamdata.git","svn_url":"https://github.com/slamdata/slamdata","homepage":null,"size":300551,"stargazers_count":100,"watchers_count":100,"language":"PureScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":20,"mirror_url":null,"open_issues_count":27,"forks":20,"open_issues":27,"watchers":100,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/653"},"html":{"href":"https://github.com/slamdata/slamdata/pull/653"},"issue":{"href":"https://api.github.com/repos/slamdata/slamdata/issues/653"},"comments":{"href":"https://api.github.com/repos/slamdata/slamdata/issues/653/comments"},"review_comments":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/653/comments"},"review_comment":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/slamdata/slamdata/pulls/653/commits"},"statuses":{"href":"https://api.github.com/repos/slamdata/slamdata/statuses/bfdbd9cbb0fb350d702d042b8a965b430df33069"}}}}