Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't setup 2FA - won't accept backup code #17853

Closed
jbirnick opened this issue Oct 18, 2024 · 14 comments
Closed

Can't setup 2FA - won't accept backup code #17853

jbirnick opened this issue Oct 18, 2024 · 14 comments

Comments

@jbirnick
Copy link

jbirnick commented Oct 18, 2024

Description

I just created a Mozilla Account to publish my add-on. For publishing my add-on, I need to setup 2FA. However, after confirming a 2FA code, it would ask me to confirm with a backup code. And then no matter what backup code from the previous page I give them, it would always just say "there was a problem confirming your backup authentication code".

I found another user on reddit who had the same problem a month ago: https://www.reddit.com/r/firefox/comments/1f8g4pb/cant_add_2fa_to_mozilla_account/

image

Steps to reproduce

Create a new Mozilla account and try to setup 2FA.

Environment

Arch Linux. Tried with both Firefox and Chromium.

┆Issue is synchronized with this Jira Task

Tasks

Preview Give feedback
No tasks being tracked yet.
@ReneDussault
Copy link

i have the exact same issue. copy pasted from the codes, but at step 3, nothing works. had to wait 15 minutes, then tried again with authy, code gets generated, enter the authy code, everything is fine.. then we get to the backup code, copy directly from the window that asks you to download and backup this file.. then add one of the code into step 3, fail

@jbirnick
Copy link
Author

Yeah same.

@ReneDussault
Copy link

Yeah same.

it JUST allowed me to make it happen. im not sure why, but now it works... idk, weird bug

@clouserw
Copy link
Member

99% of the time issues like these are that a clock on one of the devices is off. Even a few seconds can matter. Would you verify that your devices clocks are accurate and sync'd to a timeserver?

@jbirnick
Copy link
Author

I don't think it was related to that; it also worked for me when it worked for ReneDussault.

Also, for the backup codes it should not be related to any timing, right? Again, providing the 6-digit authentication code did work, but providing the backup code (which is not timing-based) did not work.

@clouserw
Copy link
Member

Right. Timing only matters for the 2FA codes

@clouserw
Copy link
Member

Looks like #17799 might be related also

@jbirnick
Copy link
Author

Yeah that's the same thing.

@gustavoeso
Copy link

I got the same thing, try to setup, won't accept recovery codes for some reason

@prefabcode
Copy link

prefabcode commented Oct 26, 2024

I have a temp fix for this issue. I signed up for an account via one of the two options (google / apple). The reason why it doesn't accept recovery code is because if you sign up via google / apple, you do not have a password set on your account.

Go here: https://accounts.firefox.com/settings/
Set up a password for your account, and then you will be able to set 2FA. You can setup 2FA right from that settings page.

@jbirnick
Copy link
Author

Well but I did not sign up with Google/Apple, so I had a password, and it still didn't work.

@vbudhram
Copy link
Contributor

Hello 👋🏽, a fix for this has landed in #17893. Thanks again for the report!

@Noxor11
Copy link

Noxor11 commented Oct 31, 2024

I see this fix is already merged and I'm not sure if the changes are up already, but I still had the same error several times just now. I'm still not able to confirm the backup authentication code.

@vbudhram
Copy link
Contributor

vbudhram commented Nov 1, 2024

Hey Noxor, I'll see if this can be uplifted but otherwise we expect the next production release to be Nov 13.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants