What makes authentication multi-factor?
A sign-in is multi-factor when it checks more than one kind of evidence for the same attempt. The number of screens, devices or codes doesn't decide it, and neither does whether a password was involved.
Count factors, not screens
Suppose the photo service asks Mia for her password, then shows a second screen asking for the name of her first pet. It has asked twice, and it may look more careful than a single password box. Both answers, though, are things Mia knows. Anyone who has learned her password from a reused account and found the pet's name on an old social media post can give both, so the second screen added a hurdle without adding a different kind of evidence.
Proving control of an account defined multi-factor authentication (MFA) as using more than one type of factor: something you know, something you have, or something you are. The count is of factor types, and it is made for one sign-in attempt. If Mia types her password and then a code from the authenticator appSomething a person controls and uses to prove control of an account, such as a memorized password, an app that generates one-time codes, or a security key. It counts only after it has been registered to that account. she enrolled, the photo service has checked knowledge and possession together. If she has the app set up but signs in today without being asked for it, the app adds nothing to today's attempt. What an account could use and what a sign-in actually checked are different questions.
Both checks must also succeed in the same attempt. A correct password followed by a wrong or expired app code is not a half-finished sign-in that the password alone can complete. The service gets a correct second check, or Mia is not signed in. The failure may mean that someone else knows the password, which is exactly the situation the second check exists to catch.
Compare the evidence
Each method in the previous lessons proves something specific, so the way to judge a sign-in is to list what each step proved and then count the kinds. The table follows Mia and Ava through sign-ins at the photo service.
| Sign-in | Verified evidence | MFA? |
|---|---|---|
| Mia: email address and password | Knowledge of the password. The address only identifies the account. | No. |
| Mia: password and security question | Two knowledge checks. | No. |
| Mia: password and email code | Knowledge of the password, then access to her mailbox. | No. Email access is not counted as a factor. |
| Mia: password and authenticator app | Knowledge of the password and possession of the app's secret, both accepted. | Yes. |
| Ava: security key with a touch only | Possession of the key's private key, and user presence. | No. The touch adds no second factor. |
| Ava: password and security key with a touch only | Knowledge of the password and possession of the private key. | Yes. The key is the second factor, even though the touch adds none. |
| Ava: passkey with a required PIN or fingerprint | Possession of the private key, and user verification on her device. | Yes, in one step. |
The email code row is the one most easily miscounted. As Codes, links, and approval prompts explained, an emailed code shows that someone can read Mia's mail, from any device that can open her mailbox. It doesn't show that she holds a particular phone or computer, so NIST's guidance doesn't accept email as a second factor. The sign-in took two screens and still checked one kind of factor.
Ava's passkeyA credential that your phone, computer or password manager creates for one website and keeps for you, unlocked with a fingerprint, face or PIN. Nothing you could type is sent, and it works only for the site it was made for, which helps it resist phishing. row runs the other way. Security keys, passkeys, and biometrics separated user presence, a touch, from user verification, a PIN or biometric checked by the authenticator. When the photo service requires verification and the signed response says it happened, one tap on one device has proved possession of the key and something Ava knows or is. The device count is one, and the factor count is two. Turned around, a password typed on a laptop and a security answer typed on a phone are still two knowledge checks, however many devices were involved.
Mia names her first pet
- Screens
- Two
- Knowledge or biometric
- Password and answer
- Possession
- None
- Kinds of factor
- One
- A look-alike page
- Can relay both
Not MFA
Mia reads a code from her mail
- Screens
- Two
- Knowledge or biometric
- Password
- Possession
- Mailbox, not a factor
- Kinds of factor
- One
- A look-alike page
- Can relay both
Not MFA
Mia types her authenticator app code
- Screens
- Two
- Knowledge or biometric
- Password
- Possession
- The app's secret
- Kinds of factor
- Two
- A look-alike page
- Can relay both in time
MFA, not phishing-resistant
Ava uses a PIN or fingerprint
- Screens
- One
- Knowledge or biometric
- User verification on her device
- Possession
- The private key
- Kinds of factor
- Two
- A look-alike page
- Receives nothing it can use
MFA and phishing-resistant
Count factors, not screens.
An application that relies on the photo service for sign-in needs the same count, and it gets it from the ID tokenIn OpenID Connect, a signed JWT from the provider, addressed to one client, saying which account authenticated, when, and in answer to which request. It reports a sign-in and is not used to call APIs.. Besides saying who signed in, the tokenA piece of data issued by a trusted service that a client presents as a credential, for example to call an API or to report a sign-in. Some tokens carry readable claims; others are random strings that only the issuer can interpret. can carry an amr claim, short for authentication methods references: a list of standard short values describing how the person authenticated. pwd means a password, otp a one-time code such as an app or email code, pop proof of possession of a key such as a passkey, and mfa that the provider counted more than one kind of factor. Mia's password and app code produce ["pwd","otp","mfa"]. Her password and email code produce ["pwd","otp"]: two values, but no mfa, because the provider did not count the mailbox. An application that needs MFA reads mfa and treats a missing value as no MFA. Counting the entries would have called the email row two-factor.
Separate factor types can still fail together. If Mia keeps her password and her authenticator app's setup secret in the same unprotected backup file, whoever copies that file can reproduce both checks. MFA assumes the evidence can't all be taken in one theft.
Passwordless and phishing resistance
Three words often get used as if they meant the same thing. They describe different properties, and a sign-in can have any combination of them.
Passwordless means signing in without an account password. An email sign-in link is passwordless, but it checks only access to a mailbox, so on its own it is neither multi-factor nor bound to the real site. If Mia follows the link and then enters her authenticator app code, she has given one possession factor and one mailbox check, and the sign-in is still not multi-factor.
Multi-factor is the count from the previous section. Mia's password and app code are MFA. They are not phishing-resistant, though: if she types both into a look-alike page, whoever runs it can pass them to the real photo service while the code still works. Phishing resistance means the proof is bound to the intended site, so a look-alike page receives nothing it can use. Ava's passkey answers only for the photo service's domain, because her browser and authenticator check the origin before anything is signed.
A passkey with required user verification is all three at once: passwordless, multi-factor and phishing-resistant. A password with a touch-only security keyA small physical device, plugged in or held near a phone or computer, that holds credentials and uses them to prove you have it. It is an authenticator that resists phishing. is multi-factor and phishing-resistant, but not passwordless. A policy that matters for an action should name the property it needs, rather than hoping one implies another.
Try an authentication decision
Choose a sign-in and the evidence the photo service requires for an action, such as sharing an album publicly. Compare an accepted app code with an expired one, or a security key used with a touch only against a passkey used with a PIN or fingerprint.
Simulation only. This browser exercise uses fixed fictional cases. It does not sign anyone in, issue credentials, or change a real authentication policy.
TOTP in the list is the time-based one-time password an authenticator app shows, and a magic link is an email sign-in link. Notice what happens to the expired code and the denied approval prompt. When a sign-in required that second check, its failure ends the attempt, even for an action that one method would satisfy. Accepting the password earlier does not erase the failed check, because the failure may mean that someone else knows the password.
Check your understanding
Try these questions before moving on. If an answer isn't right, use the feedback and try again.
Try it in the Lab
- Count factors in amr, not screensProduce real sign-ins with different evidence and decide from the ID token's amr alone which ones were multi-factor.