payload: {"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/fxa/pulls/comments/292775318","pull_request_review_id":248583468,"id":292775318,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5Mjc3NTMxOA==","diff_hunk":"@@ -0,0 +1,29 @@\n+/* This Source Code Form is subject to the terms of the Mozilla Public\n+ * License, v. 2.0. If a copy of the MPL was not distributed with this\n+ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */\n+\n+import FormView from './form';\n+import Template from 'templates/subscriptions_redirect.mustache';\n+import PaymentServer from '../lib/payment-server';\n+\n+class SubscriptionsProductRedirectView extends FormView {\n+  mustAuth = true;\n+  template = Template;\n+\n+  initialize (options) {\n+    this._currentPage = options.currentPage;","path":"packages/fxa-content-server/app/scripts/views/subscriptions_product_redirect.js","position":14,"original_position":14,"commit_id":"e19a727904ee41d2a2a63995434ccd010eea7921","original_commit_id":"e19a727904ee41d2a2a63995434ccd010eea7921","user":{"login":"shane-tomlinson","id":848085,"node_id":"MDQ6VXNlcjg0ODA4NQ==","avatar_url":"https://avatars3.githubusercontent.com/u/848085?v=4","gravatar_id":"","url":"https://api.github.com/users/shane-tomlinson","html_url":"https://github.com/shane-tomlinson","followers_url":"https://api.github.com/users/shane-tomlinson/followers","following_url":"https://api.github.com/users/shane-tomlinson/following{/other_user}","gists_url":"https://api.github.com/users/shane-tomlinson/gists{/gist_id}","starred_url":"https://api.github.com/users/shane-tomlinson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shane-tomlinson/subscriptions","organizations_url":"https://api.github.com/users/shane-tomlinson/orgs","repos_url":"https://api.github.com/users/shane-tomlinson/repos","events_url":"https://api.github.com/users/shane-tomlinson/events{/privacy}","received_events_url":"https://api.github.com/users/shane-tomlinson/received_events","type":"User","site_admin":false},"body":"Let's figure this out in Canada, I'm still uncomfortable passing an OAuth token directly. I think with [prompt=none](https://github.com/mozilla/fxa/pull/1150) we have a great path forward for both this use case and RPs that want to link directly to a subscription management page.","created_at":"2019-06-12T07:21:10Z","updated_at":"2019-06-12T07:21:10Z","html_url":"https://github.com/mozilla/fxa/pull/1310#discussion_r292775318","pull_request_url":"https://api.github.com/repos/mozilla/fxa/pulls/1310","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/mozilla/fxa/pulls/comments/292775318"},"html":{"href":"https://github.com/mozilla/fxa/pull/1310#discussion_r292775318"},"pull_request":{"href":"https://api.github.com/repos/mozilla/fxa/pulls/1310"}},"in_reply_to_id":289796878},"pull_request":{"url":"https://api.github.com/repos/mozilla/fxa/pulls/1310","id":283500162,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgzNTAwMTYy","html_url":"https://github.com/mozilla/fxa/pull/1310","diff_url":"https://github.com/mozilla/fxa/pull/1310.diff","patch_url":"https://github.com/mozilla/fxa/pull/1310.patch","issue_url":"https://api.github.com/repos/mozilla/fxa/issues/1310","number":1310,"state":"open","locked":false,"title":"feat(payments): redirect to payment pages from fxa-content-server","user":{"login":"lmorchard","id":21687,"node_id":"MDQ6VXNlcjIxNjg3","avatar_url":"https://avatars1.githubusercontent.com/u/21687?v=4","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"body":"- add /subscriptions/* path to server and client-side router\r\n\r\n- SubscriptionsRedirectView that issues an access token and redirects to\r\n  a path on fxa-payments-server\r\n\r\nIssue #926","created_at":"2019-05-30T03:11:16Z","updated_at":"2019-06-12T07:21:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d555926e60f270300d40fb840607917e3305bbbc","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/fxa/pulls/1310/commits","review_comments_url":"https://api.github.com/repos/mozilla/fxa/pulls/1310/comments","review_comment_url":"https://api.github.com/repos/mozilla/fxa/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/fxa/issues/1310/comments","statuses_url":"https://api.github.com/repos/mozilla/fxa/statuses/e19a727904ee41d2a2a63995434ccd010eea7921","head":{"label":"lmorchard:926-subscriptions-redirect","ref":"926-subscriptions-redirect","sha":"e19a727904ee41d2a2a63995434ccd010eea7921","user":{"login":"lmorchard","id":21687,"node_id":"MDQ6VXNlcjIxNjg3","avatar_url":"https://avatars1.githubusercontent.com/u/21687?v=4","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"repo":{"id":179362705,"node_id":"MDEwOlJlcG9zaXRvcnkxNzkzNjI3MDU=","name":"fxa","full_name":"lmorchard/fxa","private":false,"owner":{"login":"lmorchard","id":21687,"node_id":"MDQ6VXNlcjIxNjg3","avatar_url":"https://avatars1.githubusercontent.com/u/21687?v=4","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"html_url":"https://github.com/lmorchard/fxa","description":"Monorepo for Firefox Accounts","fork":true,"url":"https://api.github.com/repos/lmorchard/fxa","forks_url":"https://api.github.com/repos/lmorchard/fxa/forks","keys_url":"https://api.github.com/repos/lmorchard/fxa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lmorchard/fxa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lmorchard/fxa/teams","hooks_url":"https://api.github.com/repos/lmorchard/fxa/hooks","issue_events_url":"https://api.github.com/repos/lmorchard/fxa/issues/events{/number}","events_url":"https://api.github.com/repos/lmorchard/fxa/events","assignees_url":"https://api.github.com/repos/lmorchard/fxa/assignees{/user}","branches_url":"https://api.github.com/repos/lmorchard/fxa/branches{/branch}","tags_url":"https://api.github.com/repos/lmorchard/fxa/tags","blobs_url":"https://api.github.com/repos/lmorchard/fxa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lmorchard/fxa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lmorchard/fxa/git/refs{/sha}","trees_url":"https://api.github.com/repos/lmorchard/fxa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lmorchard/fxa/statuses/{sha}","languages_url":"https://api.github.com/repos/lmorchard/fxa/languages","stargazers_url":"https://api.github.com/repos/lmorchard/fxa/stargazers","contributors_url":"https://api.github.com/repos/lmorchard/fxa/contributors","subscribers_url":"https://api.github.com/repos/lmorchard/fxa/subscribers","subscription_url":"https://api.github.com/repos/lmorchard/fxa/subscription","commits_url":"https://api.github.com/repos/lmorchard/fxa/commits{/sha}","git_commits_url":"https://api.github.com/repos/lmorchard/fxa/git/commits{/sha}","comments_url":"https://api.github.com/repos/lmorchard/fxa/comments{/number}","issue_comment_url":"https://api.github.com/repos/lmorchard/fxa/issues/comments{/number}","contents_url":"https://api.github.com/repos/lmorchard/fxa/contents/{+path}","compare_url":"https://api.github.com/repos/lmorchard/fxa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lmorchard/fxa/merges","archive_url":"https://api.github.com/repos/lmorchard/fxa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lmorchard/fxa/downloads","issues_url":"https://api.github.com/repos/lmorchard/fxa/issues{/number}","pulls_url":"https://api.github.com/repos/lmorchard/fxa/pulls{/number}","milestones_url":"https://api.github.com/repos/lmorchard/fxa/milestones{/number}","notifications_url":"https://api.github.com/repos/lmorchard/fxa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lmorchard/fxa/labels{/name}","releases_url":"https://api.github.com/repos/lmorchard/fxa/releases{/id}","deployments_url":"https://api.github.com/repos/lmorchard/fxa/deployments","created_at":"2019-04-03T20:10:56Z","updated_at":"2019-04-12T18:49:24Z","pushed_at":"2019-06-12T01:46:25Z","git_url":"git://github.com/lmorchard/fxa.git","ssh_url":"git@github.com:lmorchard/fxa.git","clone_url":"https://github.com/lmorchard/fxa.git","svn_url":"https://github.com/lmorchard/fxa","homepage":"https://mozilla.github.io/application-services/docs/accounts/welcome.html","size":69108,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla:master","ref":"master","sha":"cd246e5953461b0ded70373b6850f58331bcb71b","user":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":36831081,"node_id":"MDEwOlJlcG9zaXRvcnkzNjgzMTA4MQ==","name":"fxa","full_name":"mozilla/fxa","private":false,"owner":{"login":"mozilla","id":131524,"node_id":"MDEyOk9yZ2FuaXphdGlvbjEzMTUyNA==","avatar_url":"https://avatars2.githubusercontent.com/u/131524?v=4","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mozilla/fxa","description":"Monorepo for Firefox Accounts","fork":false,"url":"https://api.github.com/repos/mozilla/fxa","forks_url":"https://api.github.com/repos/mozilla/fxa/forks","keys_url":"https://api.github.com/repos/mozilla/fxa/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/fxa/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/fxa/teams","hooks_url":"https://api.github.com/repos/mozilla/fxa/hooks","issue_events_url":"https://api.github.com/repos/mozilla/fxa/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/fxa/events","assignees_url":"https://api.github.com/repos/mozilla/fxa/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/fxa/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/fxa/tags","blobs_url":"https://api.github.com/repos/mozilla/fxa/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/fxa/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/fxa/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/fxa/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/fxa/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/fxa/languages","stargazers_url":"https://api.github.com/repos/mozilla/fxa/stargazers","contributors_url":"https://api.github.com/repos/mozilla/fxa/contributors","subscribers_url":"https://api.github.com/repos/mozilla/fxa/subscribers","subscription_url":"https://api.github.com/repos/mozilla/fxa/subscription","commits_url":"https://api.github.com/repos/mozilla/fxa/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/fxa/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/fxa/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/fxa/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/fxa/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/fxa/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/fxa/merges","archive_url":"https://api.github.com/repos/mozilla/fxa/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/fxa/downloads","issues_url":"https://api.github.com/repos/mozilla/fxa/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/fxa/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/fxa/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/fxa/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/fxa/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/fxa/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/fxa/deployments","created_at":"2015-06-03T21:16:46Z","updated_at":"2019-06-12T07:17:37Z","pushed_at":"2019-06-12T04:50:03Z","git_url":"git://github.com/mozilla/fxa.git","ssh_url":"git@github.com:mozilla/fxa.git","clone_url":"https://github.com/mozilla/fxa.git","svn_url":"https://github.com/mozilla/fxa","homepage":"https://mozilla.github.io/application-services/docs/accounts/welcome.html","size":69030,"stargazers_count":61,"watchers_count":61,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":43,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":589,"license":null,"forks":43,"open_issues":589,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/fxa/pulls/1310"},"html":{"href":"https://github.com/mozilla/fxa/pull/1310"},"issue":{"href":"https://api.github.com/repos/mozilla/fxa/issues/1310"},"comments":{"href":"https://api.github.com/repos/mozilla/fxa/issues/1310/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/fxa/pulls/1310/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/fxa/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/fxa/pulls/1310/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/fxa/statuses/e19a727904ee41d2a2a63995434ccd010eea7921"}},"author_association":"MEMBER"}}
other: {"actor":{"display_login":"shane-tomlinson"}}