{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/fxa/issues/1694","repository_url":"https://api.github.com/repos/mozilla/fxa","labels_url":"https://api.github.com/repos/mozilla/fxa/issues/1694/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa/issues/1694/comments","events_url":"https://api.github.com/repos/mozilla/fxa/issues/1694/events","html_url":"https://github.com/mozilla/fxa/issues/1694","id":465387774,"node_id":"MDU6SXNzdWU0NjUzODc3NzQ=","number":1694,"title":"Handle payment server token expiration more gracefully","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},"labels":[],"state":"open","locked":false,"assignee":{"login":"6a68","id":96396,"node_id":"MDQ6VXNlcjk2Mzk2","avatar_url":"https://avatars3.githubusercontent.com/u/96396?v=4","gravatar_id":"","url":"https://api.github.com/users/6a68","html_url":"https://github.com/6a68","followers_url":"https://api.github.com/users/6a68/followers","following_url":"https://api.github.com/users/6a68/following{/other_user}","gists_url":"https://api.github.com/users/6a68/gists{/gist_id}","starred_url":"https://api.github.com/users/6a68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6a68/subscriptions","organizations_url":"https://api.github.com/users/6a68/orgs","repos_url":"https://api.github.com/users/6a68/repos","events_url":"https://api.github.com/users/6a68/events{/privacy}","received_events_url":"https://api.github.com/users/6a68/received_events","type":"User","site_admin":false},"assignees":[{"login":"6a68","id":96396,"node_id":"MDQ6VXNlcjk2Mzk2","avatar_url":"https://avatars3.githubusercontent.com/u/96396?v=4","gravatar_id":"","url":"https://api.github.com/users/6a68","html_url":"https://github.com/6a68","followers_url":"https://api.github.com/users/6a68/followers","following_url":"https://api.github.com/users/6a68/following{/other_user}","gists_url":"https://api.github.com/users/6a68/gists{/gist_id}","starred_url":"https://api.github.com/users/6a68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/6a68/subscriptions","organizations_url":"https://api.github.com/users/6a68/orgs","repos_url":"https://api.github.com/users/6a68/repos","events_url":"https://api.github.com/users/6a68/events{/privacy}","received_events_url":"https://api.github.com/users/6a68/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/mozilla/fxa/milestones/105","html_url":"https://github.com/mozilla/fxa/milestone/105","labels_url":"https://api.github.com/repos/mozilla/fxa/milestones/105/labels","id":4303337,"node_id":"MDk6TWlsZXN0b25lNDMwMzMzNw==","number":105,"title":"Train 143 - Last one leaving the SubPlat station","description":"","creator":{"login":"clouserw","id":80098,"node_id":"MDQ6VXNlcjgwMDk4","avatar_url":"https://avatars3.githubusercontent.com/u/80098?v=4","gravatar_id":"","url":"https://api.github.com/users/clouserw","html_url":"https://github.com/clouserw","followers_url":"https://api.github.com/users/clouserw/followers","following_url":"https://api.github.com/users/clouserw/following{/other_user}","gists_url":"https://api.github.com/users/clouserw/gists{/gist_id}","starred_url":"https://api.github.com/users/clouserw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clouserw/subscriptions","organizations_url":"https://api.github.com/users/clouserw/orgs","repos_url":"https://api.github.com/users/clouserw/repos","events_url":"https://api.github.com/users/clouserw/events{/privacy}","received_events_url":"https://api.github.com/users/clouserw/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":0,"state":"open","created_at":"2019-05-10T16:34:23Z","updated_at":"2019-07-22T16:13:30Z","due_on":"2019-08-05T07:00:00Z","closed_at":null},"comments":3,"created_at":"2019-07-08T17:58:34Z","updated_at":"2019-07-22T16:37:34Z","closed_at":null,"author_association":"MEMBER","body":"Follow-up to #881\r\n\r\nPayment server gets a token with a short expiration. That means the user could more likely be in the middle of something when it expires. \r\n\r\nCurrently, we sometimes bounce back to the settings page on the content server when this happens. Other times, we just report errors. This should be smoothed out into something with better UX - automatic token refreshes? something else?"},"comment":{"url":"https://api.github.com/repos/mozilla/fxa/issues/comments/513859448","html_url":"https://github.com/mozilla/fxa/issues/1694#issuecomment-513859448","issue_url":"https://api.github.com/repos/mozilla/fxa/issues/1694","id":513859448,"node_id":"MDEyOklzc3VlQ29tbWVudDUxMzg1OTQ0OA==","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},"created_at":"2019-07-22T16:37:34Z","updated_at":"2019-07-22T16:37:34Z","author_association":"MEMBER","body":"I think the main takeaway from triage today was to bump access token expiration time up to 20-30 minutes until we have moved over to being a proper OAuth RP with refresh token?\r\n\r\nWould it make any sense at all to set up a `setTimeout` to periodically ping `/v1/verify` on auth-server to detect when the token has expired, then display an error message and redirect back to FxA settings? This might be an abrupt end to a payment flow, though."}}
{"actor":{"display_login":"lmorchard"}}