Windows 10 已于2025年10月14日停止支持。如果您正在使用 Windows 10,参见 这篇文章。

Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解
已存档

Can't enable two-step authentication because security code from Google Authenticator is invalid.

melmar

Have tried using other authentication apps in addition to Google Authenticator and keep getting "invalid two-step authentication code." Codes were not timed out. In addition, in Google Authenticator did time correction for codes to sync time and got message that time already correct. Code still would not work to enable Firefox two-step authentication.

Have tried using other authentication apps in addition to Google Authenticator and keep getting "invalid two-step authentication code." Codes were not timed out. In addition, in Google Authenticator did time correction for codes to sync time and got message that time already correct. Code still would not work to enable Firefox two-step authentication.
已附加屏幕截图

所有回复 (4)

hello, is your device setup to the correct date, time and timezone?

Yes, my computer is set to the correct date, time and time zone.

Hi Melmar,

You should have a set of back up codes stored if you followed the advice in https://blog.mozilla.org/services/2018/05/22/two-step-authentication-in-firefox-accounts/ but if not then "philipp's" advice is probably the best. You can check it out in https://support.mozilla.org/en-US/kb/troubleshoot-time-errors-secure-websites. I had this problem once and had to switch off the automatic time settings > enter them manually and then switch back to automatic when everything started working again. Other thing is something I did recently which was having a proxy turned on which gave an incorrect IP.

This is about the time on the device where you generate the 6 digit 2FA code. This code is time dependent and a specific code is only valid for about 30 seconds, so make sure that you are connected to internet. If you keep the authenticator app opened then you should see a new code appear with regular intervals.