Security glossaryTwo-factor authentication (2FA) asks for a second proof of identity after the password, such as a code from an app or a security key. A stolen password is then not enough.
Two-factor authentication (2FA) asks for a second proof of identity after the password. A stolen or guessed password is then not enough to sign in. It is one form of multi-factor authentication (MFA).
Common second factors
- A six-digit code from an authenticator app (time-based one-time passwords, TOTP).
- A hardware security key or passkey, which also resists phishing.
- A code sent by text message: better than nothing, but the weakest option, because phone numbers can be hijacked.
On a website
WordPress does not include 2FA in core; it is added with a plugin, and is worth turning on for every administrator and editor. Some newer platforms sign people in with passkeys by default, which replace the password altogether.