Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

Trying to activate 2FA always returns "Invalid two-step authentication code" error

  • 5 réponses
  • 2 ont ce problème
  • 11 vues
  • Dernière réponse par silvanocerza

more options

I deactivated 2FA to change the app I use to generate the code but I can't manage to reactivate it, every time I scan the QR Code and input the code I get this error. I also tried to input the code manually without scanning the QR Code but the result is the same.

I tried both on Firefox Preview on Android and on latest Firefox version on Arch Linux but the result is the same.

I deactivated 2FA to change the app I use to generate the code but I can't manage to reactivate it, every time I scan the QR Code and input the code I get this error. I also tried to input the code manually without scanning the QR Code but the result is the same. I tried both on Firefox Preview on Android and on latest Firefox version on Arch Linux but the result is the same.
Captures d’écran jointes

Toutes les réponses (5)

more options

Make sure that the time is correct on the device you use to generate to TOTP code. The code is only valid for 30 seconds, so the slightest offset will make the code invalid.

Maybe try a different app to generate the code if the new app isn't working. There are also Firefox extensions you can try or use to compare the TOTP code.

more options

I already tried with different applications and devices, the result is still the same. Other codes for other accounts are working as expected and without any issue.

more options

Did you try to disable and re-enable 2FA and possibly logout and login again in between?

more options

I tried logging out and back in right now but I still get the same error.

more options

I opened a bug report on Bugzilla about this issue.

https://bugzilla.mozilla.org/show_bug.cgi?id=1617201