{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/addons/issues/753","repository_url":"https://api.github.com/repos/mozilla/addons","labels_url":"https://api.github.com/repos/mozilla/addons/issues/753/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/addons/issues/753/comments","events_url":"https://api.github.com/repos/mozilla/addons/issues/753/events","html_url":"https://github.com/mozilla/addons/issues/753","id":342102271,"node_id":"MDU6SXNzdWUzNDIxMDIyNzE=","number":753,"title":"Legacy website login form causing infine UX loop","user":{"login":"chrismore","id":751491,"node_id":"MDQ6VXNlcjc1MTQ5MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/751491?v=4","gravatar_id":"","url":"https://api.github.com/users/chrismore","html_url":"https://github.com/chrismore","followers_url":"https://api.github.com/users/chrismore/followers","following_url":"https://api.github.com/users/chrismore/following{/other_user}","gists_url":"https://api.github.com/users/chrismore/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismore/subscriptions","organizations_url":"https://api.github.com/users/chrismore/orgs","repos_url":"https://api.github.com/users/chrismore/repos","events_url":"https://api.github.com/users/chrismore/events{/privacy}","received_events_url":"https://api.github.com/users/chrismore/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-17T21:51:48Z","updated_at":"2018-07-27T17:50:53Z","closed_at":null,"author_association":"MEMBER","body":"### Describe the problem and steps to reproduce it:\r\n\r\nI happen to come across this URL on Zemmate's support website:\r\n\r\nhttps://addons.mozilla.org/en-US/firefox/users/login?to=/en-US/firefox/addon/zenmate-vpn/reviews/\r\n\r\nIt looks like it is a direct link to an AMO login form that is supposed to redirect after authenticating to the /reviews/ page.\r\n\r\n### What happened?\r\n\r\nI authenticated with FxA. It returned me back to the same page, said I was logged in (via the header) and said again login with FxA to continue. This infinite loop in the user experience doesn't ever end. It looks to be an issue with the old AMO template and the FxA login form.\r\n\r\n### What did you expect to happen?\r\n\r\nI expected to be redirected to:\r\n\r\nhttps://addons.mozilla.org/en-US/firefox/addon/zenmate-vpn/reviews/\r\n\r\nbut that never happened.\r\n\r\n### Anything else we should know?\r\n\r\nI checked Google Analytics, to see if I could estimate how many other people have this same issue.\r\n\r\nIt looks like 150-200 people are day are hitting this URL \"firefox/users/login\" and mostly from organic search.\r\n\r\nSo it doesn't look like a massive issue, but it looks like some users and non-users could be getting stuck.\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/addons/issues/comments/408492145","html_url":"https://github.com/mozilla/addons/issues/753#issuecomment-408492145","issue_url":"https://api.github.com/repos/mozilla/addons/issues/753","id":408492145,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODQ5MjE0NQ==","user":{"login":"muffinresearch","id":1514,"node_id":"MDQ6VXNlcjE1MTQ=","avatar_url":"https://avatars1.githubusercontent.com/u/1514?v=4","gravatar_id":"","url":"https://api.github.com/users/muffinresearch","html_url":"https://github.com/muffinresearch","followers_url":"https://api.github.com/users/muffinresearch/followers","following_url":"https://api.github.com/users/muffinresearch/following{/other_user}","gists_url":"https://api.github.com/users/muffinresearch/gists{/gist_id}","starred_url":"https://api.github.com/users/muffinresearch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/muffinresearch/subscriptions","organizations_url":"https://api.github.com/users/muffinresearch/orgs","repos_url":"https://api.github.com/users/muffinresearch/repos","events_url":"https://api.github.com/users/muffinresearch/events{/privacy}","received_events_url":"https://api.github.com/users/muffinresearch/received_events","type":"User","site_admin":false},"created_at":"2018-07-27T17:50:53Z","updated_at":"2018-07-27T17:50:53Z","author_association":"MEMBER","body":"@diox do you know if we have a way to replace this URL with the right call to FXA? \r\n\r\nPresumably we can generate the same login URL a user would get if they press the login button on url in the `to` param and redirect to that?"}}
{"actor":{"display_login":"muffinresearch"}}