Learn about two-factor authentication
Short, practical guides to what your authenticator is doing. Pick the one that matches your question, or start with the basics.
- What is two-factor authentication (2FA)?Two-factor authentication asks for a second proof after your password, so a leaked password alone isn't enough. Here is how the common methods compare…
- How TOTP codes workEvery authenticator app runs the same calculation. Knowing it explains most rejected codes, from clock drift to settings mismatches.
- What is a 2FA code?A 2FA code is a short value used alongside your password to confirm a sign-in. It can come from an authenticator app, a text…
- Authenticator apps: setup, backups and moving to a new phoneAn authenticator app stores one secret key per account and shows a code from it every 30 seconds. Most problems happen when people switch…
- TOTP vs HOTPTOTP and HOTP both generate short authentication codes from a secret. Their main difference is what makes the code move to the next value.
- Understanding an otpauth URIThe QR code you scan to set up an authenticator holds an otpauth:// link. Reading its parts explains most setup failures.
Where to start
- New to this? Read what two-factor authentication is, then what a 2FA code is.
- Switching phones? Authenticator apps: backups and moving to a new phone.
- Want the maths? How TOTP codes work and TOTP vs HOTP.
- Looking at a QR code or setup link? Understanding an otpauth URI.
Something isn’t working?
The help pages start from the symptom: a rejected code, an invalid key, or a QR code that won’t scan. Service-specific steps (Google, Discord, Instagram and others) are listed on the tools page.