Skip to content

Kinds of Second Step: Apps, Text Codes, Keys and Passkeys

The main kinds of second step for a login, from authenticator apps to text codes, security keys and passkeys, and how each one works.

Reviewed on 26 November 2026

A second step is the extra proof a site asks for after your password. Several kinds exist. They differ in where the proof comes from and in how easily a trickster can get hold of it.

CISA lists the main options for businesses, and it ranks them from most to least secure.1 This page follows CISA's order for the kinds CISA lists and explains how each one works. Passkeys are not in CISA's list; they are added here from other sources and are not part of CISA's ranking.

Where the proof comes fromYou enter your passwordSite asks for a second stepCode, prompt or key supplies proofSite checks it and lets you in
Each kind of second step gets its proof from a different place.

Security keys

A security key is a small physical device. CISA describes it as one that plugs in or taps your device.1 Some keys are built into a phone or computer instead, such as a fingerprint reader. Cloudflare's documentation describes both the built-in and the external kind, and says a security key provides phishing-resistant multifactor authentication.2

There's a condition. The same page cautions that security keys only work with browsers that support the WebAuthn protocol.2

Passkeys

A passkey is a close cousin of the security key. It uses a pair of cryptographic keys. The website stores the public half, and the private half stays with you.3 Google's help page says passkeys only exist on your devices, unlike passwords, and that you can create one on a phone, computer or hardware security key.4

Some passkey software syncs them between devices through the cloud.3 A synced passkey can be easier to live with, though it also means the account holding it needs its own protection.

Google adds that signing in with a passkey bypasses the separate second step, because the passkey already verifies that you have your device.4 Not every site offers passkeys yet.

Authenticator apps with a prompt

Some apps push a prompt to your phone. With number matching, you enter a number shown on the login screen to confirm.1 Google's version of a prompt asks you to tap Yes or No, and Google says prompts can help protect against SIM swap and other phone number-based hacks.4

Authenticator apps with a code

This is the kind most small sites offer. The app makes a new code every 30 seconds.1 The method behind it is called a time-based one-time password, or TOTP. It generates a one-time password using the current time as a source of uniqueness.5

Your phone and the website share a secret when you first set it up. Wikipedia points out the catch: a shared secret is known to both sides, so it can be stolen from either.5 A code is also typed into a page, and a fake page can collect it. Because codes expire quickly, attackers must pass them along in real time.5

The step-by-step setup page covers the scanning and saving.

Biometrics

Fingerprints and face scans count as something you are. CISA says biometrics are usually device specific.1 In everyday use the fingerprint unlocks your phone or key, and the phone or key then does the proving.

Text message and voice codes

A code arrives by text or phone call, and you type it in. CISA calls this the form people know best, but says it provides the weakest protection.1 Google agrees that any second step adds security, yet says codes sent by text or call can be vulnerable to phone number-based hacks.4 The text message page has the detail.

Backup codes

These are a fixed set of one-use codes you save for emergencies. They aren't a daily method. See backup codes and recovery.

Side by side

Kind Where the proof lives Source note
Security key A device you hold Described as phishing-resistant2
Passkey A private key on your device Stays on your devices4
Authenticator code A secret shared with the site New code every 30 seconds1
Text or voice code Your phone number Weakest of the main options1

Reference list

  1. Require Multifactor Authentication, CISA (US Cybersecurity and Infrastructure Security Agency)
  2. Two-factor authentication, Cloudflare Fundamentals docs
  3. Passkey, Wikipedia
  4. Turn on 2-Step Verification, Google Account Help
  5. Time-based one-time password, Wikipedia