Beta

Create a tenant

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

Methods, credentials, and factors

Every sign-in asks for some kind of evidence that the person at the keyboard controls an account. Naming the pieces of a sign-in precisely makes it possible to say what a service actually checked, and what it still doesn't know.

The sign-in experience

Sign-in pages look different from one service to the next. One asks for a password. Another emails a code. A third sends a notification to your phone and waits for you to approve it, and your laptop may offer to sign you in with a fingerprint. Behind each of these screens, the service is collecting a different kind of evidence that you control the account you're asking for.

Cora Diaz keeps her albums at the photo service. When she returns, she types her email address and her password. The address tells the service which account she wants. Anyone who knows the address could type it, so on its own it shows nothing about who is at the keyboard.

In Proving control of an account, authentication was the check of that evidence: control of an authenticator associated with the account. These lessons look closely at the different kinds of evidence a service can ask for, how each one is checked, and where each one fails. Throughout them, one question helps: what evidence did the service actually verify?

Naming the pieces

A few words come up in every sign-in, and they are easy to blur together. Cora's sign-in has all of them. Her email address is the identifier: it finds her account among everyone else's. Her password is a credential: the evidence registered to her account that only she should be able to present. The password lives in her memory, so her memory is also the authenticator, the thing she controls that produces the evidence. For an authenticator app or a security key, the authenticator is a separate device.

The method is the procedure the service uses to collect and check the evidence, such as comparing a typed password with the value it stored, or checking a signature over a fresh challenge. The factor is the kind of evidence involved. A password is knowledge of a secret.

The pieces of Cora's sign-in
TermMeaning in these lessonsIn Cora's sign-in
IdentifierA value used to find or distinguish an account.Her email address, or the account ID the service uses internally.
CredentialEvidence registered to one account that only its holder should be able to present.Her password.
AuthenticatorSomething the person controls and uses to produce the evidence.Her memory of the password. An app or security key, if she adds one.
MethodThe procedure used to collect and check the evidence.Comparing the typed password with the stored value.
FactorThe kind of evidence involved.Knowledge of a secret.

Products and standards don't always use these words the same way. Some call the record that ties an authenticator to an account the credential; some say "factor" when they mean a method. When a page or a policy uses one of these words, look at the role the piece plays rather than the label.

The service that checks the evidence is the verifier. When that service signs people in for other applications, as the photo service does for the printer in the OAuth lessons, it is called an identity provider. The sign-in page Cora sees belongs to the identity provider, and the applications she uses afterwards rely on its result. Authentication policy and SSO returns to that arrangement.

Three kinds of evidence

Authentication factors fall into three kinds, and each has its own way of being checked and its own way of failing.

Something you know is a secret, such as a password, or a PIN that unlocks an authenticator. It only counts while it stays secret. Cora's email address, her birthday or her favorite photo album are things she knows too, but other people can find them, so they are not useful evidence.

Something you have is possession and control of an authenticator, such as a phone running an authenticator app or a security key. The service doesn't take Cora's word that she owns a phone. It checks evidence that only the registered device could produce, such as a code computed from a secret the app holds, or a signature from a key that never leaves the device.

Something you are is a biometric characteristic, such as a fingerprint or a face. In most sign-ins today, the comparison happens on Cora's own device: the fingerprint reader checks her finger and then lets the device use a key it holds. The photo service checks the key's signature. It never receives the fingerprint, which is why a biometric usually works as a way to unlock an authenticator, not as evidence sent to the service.

The factor describes the evidence, not the screen it was collected on. One screen can check two factors, as a fingerprint-unlocked passkey does, and two screens can check the same factor twice, as a password followed by a security question does. Later lessons in this group follow each method in turn and then count factors properly.

Following the evidence

Follow Cora's sign-in from start to finish. She types her address, and the photo service finds her account. She types her password, and the service repeats the computation it ran when she chose the password and compares the result with the value it stored. The values match, so the service has evidence that the person at the keyboard knows the secret registered to Cora's account. It creates a session, so she can move from album to album without typing the password on every page.

Now suppose someone types Cora's address with the wrong password. The identifier still finds her account, but the evidence doesn't match, and authentication fails. The service should say only that the email address or password is incorrect. If it said "wrong password" here and "no such account" for an address it doesn't know, anyone could use the sign-in page to test which addresses have accounts, a check called account enumeration. One message for both cases keeps that from leaking.

Her address, her password

Account found
Cora
Password check
Matches
Page says
Her albums
Recorded against
Cora
Session
Created

Signed in

Her address, a guess

Account found
Cora
Password check
Does not match
Page says
Email or password is incorrect
Recorded against
Cora
Session
None

Refused

No such account

Account found
None
Password check
Not reached
Page says
Email or password is incorrect
Recorded against
No account
Session
None

Refused

Authentication answered a different question: control of the account, not who Cora is or what she may do.

The same sign-in page, three attempts: only the matching password creates a session, and both failures read the same.

A failed attempt is still worth recording. The service knows which account the wrong password was tried against, so it can record the attempt with Cora's account as its subject, even though no one was authenticated. A typed address is a claim, not an authenticated person, so the record names no actor. Repeated failures against one account can then be noticed and slowed down.

Successful authentication has limits too. It shows that someone controlled the evidence registered to Cora's account. Someone who has stolen her password passes the same check. It doesn't establish her legal name, which is the job of identity proofing, and it doesn't decide what she may do. If Cora asks to manage other people's accounts, authorization refuses her, because authentication answered a different question.

Check your understanding

Try these questions before moving on. If an answer isn't right, use the feedback and try again.

Cora types her email address and her password at the photo service. Which statement describes the evidence? 1 of 3

Choose one answer.

Cora's password matches and the photo service signs her in. What does that establish by itself? 2 of 3

Choose one answer.

A sign-in page says "No account with that email" for unknown addresses and "Wrong password" for known ones. What is the problem? 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