r/github • • 2d ago

Question 2FA codes from Microsoft Authenticator rejected on GitHub login, entry intact and clock correct

Post image

Locked out of my GitHub account. My Microsoft Authenticator (Android) TOTP codes for GitHub are rejected, even though nothing changed.

- One GitHub entry in the app, labeled with my username, the one I enrolledand used successfully before

- Another entry for my Microsoft account works fine, also Google Authenticator works fine for other sites.

- Never reset or reconfigured 2FA, never enrolled it anywhere else

- Phone time and time zone automatic, match time.is to the second, restarted

- Fresh codes, entered immediately, two browsers

- No recovery codes; in account recovery all alternative factors are greyedout. Support ticket open, only automated replies so far.

Has anyone had codes rejected from a correct, unchanged entry and found thecause or a fix? Or did Support ever help in a case like this?

0 Upvotes

4 comments sorted by

2

u/enozero 2d ago

What’s the error you are getting? Does the user name correctly match up (3 e’s, 4 a’s)?

1

u/h_e_e_y_a_a_a 2d ago

I get "Two-factor authentication failed.". Yeah, the username is correct.

1

u/lMikiol 7h ago

I have same issue

1

u/h_e_e_y_a_a_a 45m ago

with Microsoft authenticator? I'm never using it again after this lol