Authentication
Two-factor authentication
Also called 2FA
Two-factor authentication requires two different kinds of proof before an account opens, so a stolen password alone is not enough to get in.
2 min read · Updated August 30, 2026

The factors are different categories of proof: something you know (a password), something you have (a phone, a hardware key), or something you are (a face, a fingerprint). Two from the same category isn't two factors.
Which second factor to choose
- A passkey is strongest. It combines possession and biometrics in one step and cannot be phished.
- A one-time passcode from an authenticator app is the practical default, available on almost every account that matters.
- Codes by text message are the weakest form, because a number can be moved to another SIM, but they are still far better than no second factor.
Set it up properly
- Start with email, since it can reset most of your other accounts.
- Save the backup codes when you turn it on, or losing your phone locks you out.
- Don't treat it as phishing protection. A counterfeit page will ask for the code too; only a passkey removes that risk.
In Lockit
- Add a one-time code to the record it belongs to. Scan the site's QR code and the code appears next to that password.
- Store the backup codes in the same record as a Secret field, so they're encrypted and next to the login they rescue.
- Create passkeys where sites offer them, which replaces the password and its second factor in one step.
Related
Glossary
PasskeyGlossary
One-time passcodeGlossary
Backup codes