Please give me the ability to switch which Firefox account is linked to my AMO account

UNCONFIRMED
Unassigned

Status

addons.mozilla.org Graveyard
Administration
UNCONFIRMED
2 years ago
2 years ago

People

(Reporter: Anthony Lieuallen, Unassigned)

Tracking

Details

(Reporter)

Description

2 years ago
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160126223146

Steps to reproduce:

Tried to log into my AMO account ( https://addons.mozilla.org/en-US/firefox/user/arantius/ ) to add a new version to my existing extension.  Used my password manager to auto-fill my unique email and password for "this account" as always.  As best I could.  The form was subtly different, with no explanation of _why_ it was different.


Actual results:

I found myself with my "Firefox" account which I had created to _only_ be linked to my (immensely private, even if it is encrypted) Firefox Sync data suddenly also linked to my AMO account.

And there's no way to un-do this to fix it.  I want a separate account for A) authenticating to my Firefox Sync data and B) managing my extensions on AMO.  And I definitely don't want to lose the name or all the history of my AMO account.
(Reporter)

Comment 1

2 years ago
I'd also be very happy with a one-off short term workaround to simply un-link the two (AMO vs. Firefox) accounts.  So that now that I understand what's going on, I can link the existing AMO account to a new distinct Firefox account created for that purpose.

Updated

2 years ago
Assignee: nobody → amckay

Comment 2

2 years ago
Jason when you have a moment could you run this on prod please? Probably easier to do in Python to avoid cache problems.

    from olympia.users.models import UserProfile
    user = UserProfile.objects.get(email='firefox@wild.arantius.com')
    user.fxa_id = ''
    user.save()

When its completed Anthony, you should be able to login with your old AMO account. Don't migrate, but go to account settings and change your email address on AMO to whatever you want your Firefox Account to be.

Then complete the migration process.
Flags: needinfo?(jthomas)
(In reply to Andy McKay [:andym] from comment #2)
> Jason when you have a moment could you run this on prod please? Probably
> easier to do in Python to avoid cache problems.
> 
>     from olympia.users.models import UserProfile
>     user = UserProfile.objects.get(email='firefox@wild.arantius.com')
>     user.fxa_id = ''
>     user.save()

Done.
Flags: needinfo?(jthomas)
(Reporter)

Comment 4

2 years ago
Sadly this did not work as desired and I'm in an even worse state.  Here's what happened this time:

1) Log in to AMO, form asks only for email.
2) Enter existing AMO account email (mozilla@)
3) Sent directly to Firefox Account page (no password prompt from AMO)
4) Create new Firefox Account (same email as AMO account).
5) Am now logged into AMO account "Anonymous user 5814bb"

I can't log into my existing AMO account at all anymore, it seems.
(Reporter)

Comment 5

2 years ago
Turns out the account I want to be for Sync only is still tied to my AMO account.

So:

1) My AMO account ( https://addons.mozilla.org/en-US/firefox/user/arantius/ ) has email mozilla@.
2) My for-sync-only account has email firefox@.
3) Logging into AMO it doesn't matter what email I type apparently.  If I log into the firefox@ "Firefox Account" then I still end up in the state I was when I filed this bug originally.  If I log into the mozilla@ "Firefox Account" then I end up in a new blank AMO account which I never intentionally created.
Flags: needinfo?(jthomas)
:andym do we need to change the email address associated with account arantius to mozilla@ here and unset the fxa_id?
Flags: needinfo?(amckay)

Comment 7

2 years ago
I'm not really sure, I think a quick IRC session between Anthony, yourself and mstriemer might be best to unpick the account states here.

It might be part of the problem on Desktop that FxA tries to use your FxA sync account because most people only have one Firefox Account and the AMO sign in flow is so easy when it does.
Flags: needinfo?(amckay)
(Reporter)

Comment 8

2 years ago
I'm not a big fan of IRC (and being available real time) but feel free to email any of the 3 addresses you have for me.
It looks like there are two accounts on AMO, one firefox@ and one mozilla@. I think this is what we want:

1. Delete the mozilla@ account, Anthony didn't mean to create it.
2. Clear the fxa_id from the firefox@ account.
3. Anthony logs in with username and password (using firefox@ and old password).
4. Migration prompt comes up, click continue.
5. Click "Use a different account" at FxA and use mozilla@.
6. AMO account is now mozilla@.
(Reporter)

Comment 10

2 years ago
NO NO NO.

https://addons.mozilla.org/en-US/firefox/user/arantius/

This is the AMO account that I've had for over a decade; its email address is mozilla@  PLEASE DO NOT DELETE THIS.

The Firefox account with email firefox@ and anything that accidentally got created should never have been connected to AMO, if the UI was clear to me when this firefox account thing started to happen.
Since you've migrated the account to Firefox Accounts its email address has changed to match your Firefox Account.

The email address on https://addons.mozilla.org/en-US/firefox/user/arantius/ is firefox@. That's why when you logged in with mozilla@ after the FxA id was cleared it created a new account "Anonymous user 5814bb".
You can delete the account yourself, Anthony. If you sign in with your mozilla@ FxA account it should show up as anonymous and you can delete it.

Then jason can clear the fxa_id on your firefox@ account and you can go through the steps I put above and it should end up as mozilla@ again.
(Reporter)

Comment 13

2 years ago
Ok.  Sorry for all the hassle, this probably shouldn't be so confusing.

I have logged into accounts.firefox.com with the mozilla@ account, and clicked the delete button, and gotten a green bar that says "Account deleted successfully".
I confirmed with andym that the mozilla@ account has been deleted.

jason: can you clear the FxA id from the firefox@ account again? Same as https://bugzilla.mozilla.org/show_bug.cgi?id=1249631#c2.

Anthony: Once jason has cleared the id you should be able to do the following:

1. Go to https://addons.mozilla.org/en-US/firefox/users/login.
2. Enter firefox@ for your email.
3. It should prompt for password, use your old password.
4. You should be prompted to migrate, click Continue.
5. Click the "Use a different account" link.
6. Register or sign into a Firefox Account to associate it with your AMO account. The email you use here
   will be what you enter on AMO when logging in in the future.
(In reply to Mark Striemer [:mstriemer] from comment #14)
> I confirmed with andym that the mozilla@ account has been deleted.
> 
> jason: can you clear the FxA id from the firefox@ account again? Same as
> https://bugzilla.mozilla.org/show_bug.cgi?id=1249631#c2.

Done.
Flags: needinfo?(jthomas)
(Reporter)

Comment 16

2 years ago
Thanks, confirmed that I can log into AMO via Firefox Accounts now, with the account layout I desire.

Please keep this open as an RFE to make the linking process more clear and/or give users control of AMO <-> Firefox account linking, though.
(Assignee)

Updated

2 years ago
Product: addons.mozilla.org → addons.mozilla.org Graveyard

Updated

2 years ago
Assignee: amckay → nobody
You need to log in before you can comment on or make changes to this bug.