{"action":"closed","issue":{"url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/1995","labels_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/1995/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/1995/comments","events_url":"https://api.github.com/repos/mozilla/fxa-content-server/issues/1995/events","html_url":"https://github.com/mozilla/fxa-content-server/issues/1995","id":52278825,"number":1995,"title":"Confine confirm screen to explicit flows","user":{"login":"zaach","id":3903,"avatar_url":"https://avatars.githubusercontent.com/u/3903?v=3","gravatar_id":"","url":"https://api.github.com/users/zaach","html_url":"https://github.com/zaach","followers_url":"https://api.github.com/users/zaach/followers","following_url":"https://api.github.com/users/zaach/following{/other_user}","gists_url":"https://api.github.com/users/zaach/gists{/gist_id}","starred_url":"https://api.github.com/users/zaach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaach/subscriptions","organizations_url":"https://api.github.com/users/zaach/orgs","repos_url":"https://api.github.com/users/zaach/repos","events_url":"https://api.github.com/users/zaach/events{/privacy}","received_events_url":"https://api.github.com/users/zaach/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2014-12-17T19:12:19Z","updated_at":"2015-03-26T17:24:33Z","closed_at":"2015-03-26T17:24:33Z","body":"On current master if you visit the `confirm` screen directly while logged in and verified it will transition to `signup_complete`. If you're unverified it will stay put and if you are not logged in it will transition to `signup`.\r\n\r\n@shane-tomlinson mentions in https://github.com/mozilla/fxa-content-server/pull/1987#discussion_r21967723 that we should restrict the `confirm` to users that were explicitly sent there. This occurs after you sign up, sign in while unverified, or visit a `/settings/` page while unverified.\r\n\r\nSo, decisions to make wrt transitioning from `confirm` in all other cases: \r\n\r\n1. Not signed in -> `signup` (flash error message?)\r\n1. Signed in unverified -> stay on `confirm` ?\r\n1. Signed in verified -> `settings` with a flash message? \"You've already confirmed your account.\""}}