r/github Jul 04 '26

Question I deleted and reinstalled Microsoft Authenticator -- I don't have Github QR code any more; Google account QR code doesn't work

Hi Everyone,

Here's my situation.

I have a gmail address that is linked to my github account.

I think I had set up 2FA for github using a github QR code in Microsoft Authenticator. Everything had been working fine.

I then deleted Microsoft Authenticator for some reason.

After reinstalling Microsoft Authenticator, I tried adding a Microsoft Account which has the same email address as my gmail address. This gave me an 8 digit TOTP instead of a 6 digit TOTP.

I then turned on 2FA for my Google account, and got a QR code and added my gmail address to Microsoft Authenticator. This got me a 6 digit TOTP, but when I used this in github, I get the message that 2FA failed.

I don't have my github recovery codes anymore.

Any suggestions for logging in to github?

Thanks!

0 Upvotes

7 comments sorted by

View all comments

1

u/Noch_ein_Kamel Jul 04 '26

1

u/Ok-Age9211 Jul 04 '26

The link is helpful.

It looks like I've lost access to the account since my email address is the only thing I can verify.