Beta

Create a tenant

A new tenant starts with its own users, OAuth settings, audit history and logs. You are its first Tenant Admin.

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 app 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.

What each sign-in proved
Sign-inVerified evidenceMFA?
Mia: email address and passwordKnowledge of the password. The address only identifies the account.No.
Mia: password and security questionTwo knowledge checks.No.
Mia: password and email codeKnowledge of the password, then access to her mailbox.No. Email access is not counted as a factor.
Mia: password and authenticator appKnowledge of the password and possession of the app's secret, both accepted.Yes.
Ava: security key with a touch onlyPossession of the key's private key, and user presence.No. The touch adds no second factor.
Ava: password and security key with a touch onlyKnowledge 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 fingerprintPossession 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 passkey 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.

Two screens can still be one kind of factor, and one screen can be two. Only the passkey also leaves a look-alike page with nothing it can use.

An application that relies on the photo service for sign-in needs the same count, and it gets it from the ID token. Besides saying who signed in, the token 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 key 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.

Compare authentication evidence

Enable JavaScript to run the simulation. The comparison table above explains the evidence without it.

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.

The photo service asks Mia for her password, then her first pet's name on a second screen. Is this MFA? 1 of 3

Choose one answer.

Mia signs in with her password and then a code emailed to her. Her ID token's amr is ["pwd","otp"]. Should an application that requires MFA accept it? 2 of 3

Choose one answer.

Mia signs in with her password and a valid authenticator app code. What can you conclude? 3 of 3

Choose one answer.

Try it in the Lab

We value your privacy

We use cookies and similar technologies to enhance your browsing experience, and analytics to understand our traffic. By clicking "Allow all", you consent to optional analytics. Cookie Policy

Learn identity