2FA error #195384
-
🏷️ Discussion TypeBug 💬 Feature/Topic AreaActions BodyI use windows autentication app. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
✅ 1️⃣ Check Your GitHub 2FA Method Are you setting up: ✅ TOTP (Authenticator App) If you're using Microsoft Authenticator, you must choose: “Set up using an app” ✅ 2️⃣ Time Sync Issue (Very Common) “Invalid code” Then most likely your system time is slightly out of sync. On Windows 11: Go to Settings → Time & Language → Date & Time TOTP codes are time-based — even 30 seconds difference breaks it. ✅ 3️⃣ Are You Using Microsoft Authenticator on Desktop? Microsoft Authenticator officially works best on mobile devices (Android/iOS). If you're trying to use: Windows desktop app 👉 Recommended: |
Beta Was this translation helpful? Give feedback.
✅ 1️⃣ Check Your GitHub 2FA Method
First question:
Are you setting up:
✅ TOTP (Authenticator App)
or
✅ Passkey / Windows Hello?
These are different.
If you're using Microsoft Authenticator, you must choose:
“Set up using an app”
NOT passkey.
✅ 2️⃣ Time Sync Issue (Very Common)
If you scan the QR code but GitHub says:
“Invalid code”
Then most likely your system time is slightly out of sync.
On Windows 11:
Go to Settings → Time & Language → Date & Time
Turn on:
✅ Set time automatically
✅ Set time zone automatically
Click Sync now
Then try again.
TOTP codes are time-based — even 30 seconds difference breaks it.
✅ 3️⃣ Are You Using Microsoft Authenticator on Desktop?
Important:
Microsoft Auth…