mozilla / addons

☂ Umbrella repository for Mozilla Addons ✨
Other
125 stars 41 forks source link

Unable to login due to Internal Server Error after FXA account consolidation #1856

Open muffinresearch opened 2 years ago

muffinresearch commented 2 years ago

Describe the problem and steps to reproduce it:

:wave: I started with two separate FXA accounts with different email addresses which I wanted to consolidate on the newer of the two email addresses.

To simplify explaining what's happened I'll use the following to describe the two accounts:

Here's the steps that lead to the issue I'm seeing:

What happened?

Having made the changes above, when I try to login to AMO via FXA using email B I am sent to https://addons.mozilla.org/api/auth/authenticate-callback/?code=[redacted]&state=[redacted]&action=signin and see the following JSON:

{"detail":"Internal Server Error"}

FXA thinks I'm logged into AMO. But I do not have a valid session.

What did you expect to happen?

A successful login

┆Issue is synchronized with this Jira Task

diox commented 2 years ago

We discussed this on Matrix, this is https://sentry.prod.mozaws.net/operations/olympia-prod/issues/12077688/?query=is%3Aunresolved which is probably a duplicate of https://github.com/mozilla/addons/issues/1780

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. If you think this bug should stay open, please comment on the issue with further details. Thank you for your contributions.

sentry-io[bot] commented 1 year ago

Sentry issue: ADDONS-SERVER-PROD-J

KevinMind commented 4 months ago

Old Jira Ticket: https://mozilla-hub.atlassian.net/browse/ADDSRV-72