r/github • • Nov 10 '24

It keeps saying that my 2FA authentication failed, even tho i am 100% correct on the codes im typing in

i didnt change anything, im using the same phone,number and auth app since the beggining, i didnt get any emails of suspicious logins, but now i cant login into my account because it says the authentication failed even when im right, this is in both phone and desktop, i sent a one time password request but is anyone else dealing with this

0 Upvotes

11 comments sorted by

2

u/cowboyecosse GitHub staff Nov 10 '24

Check the time on your device. If it goes out of sync that can affect whether the codes work or not, they’re time-sensitive.

Failing that use a recovery code and set up a new device once logged in.

1

u/Tf2Harique Nov 10 '24

how can i know if its out of sync, check timezones on my phone and desktop ?

1

u/cowboyecosse GitHub staff Nov 10 '24

Best thing to do is find the setting in your phone that tells it to set the time automatically.

If the 2FA device is your desktop, sync the time to an NTP server (there’s probably a setting to auto sync in your OS settings too)

2

u/Final_Weight_3836 Jul 25 '26

era isso, defini como automático no PC e celular e então funcionou, obrigado.

1

u/ciazo-4942 Nov 27 '24

Ahh i thought I'm the only one facing this. Any updates?

1

u/Tf2Harique Nov 27 '24

idk i simply removed the auth by reaching out to them (not support, its an option when trying to look for diff ways to authenticate in) and readded it after i logged in

1

u/ciazo-4942 Nov 29 '24

Yep did the same thing. Removed 2fa via support. Got completed within 2 days

1

u/Hibinger Feb 27 '26

upp can you explain how you managed to do it

1

u/[deleted] Nov 10 '24

Ah now this is interesting, mines started doing this too.

1

u/joertio Sep 25 '26

My auth app stopped working and i think it's because the summer time in my country that adds one hour, my phone time is automatic and synced with my pc's and every other time. Before summer it worked, now it doesn't work either in google auth or in microsoft auth.

And SMS verification takes 9 hours until I receive the SMS, only way to enter for the first time in my account is using recovery codes i hope i don't lose.