Passwords & identity

What Is an Authentication App? How Authenticator Apps Work in 2026

An authentication app is the second factor that turns a stolen password into a dead end. Here is how the codes work, which apps are worth using, and how to recover when you lose your phone.

Cysoro Security TeamPublished · 9 min read
PASSWORDS & IDENTITYAuthenticationAppSix digits that stop a stolen password.Authenticator482 916expires in 30sAPPROVE SIGN-IN
Quick answer

An authentication app is a mobile app that generates time-based one-time codes, usually six digits that change every 30 seconds, or sends push approval prompts to prove your identity as a second factor after your password. It works offline for codes, is far stronger than SMS, and is free in apps such as Microsoft Authenticator and Google Authenticator.

Key takeaways

  • An authentication app generates six-digit TOTP codes from a shared secret and the clock, so codes work even with no signal.
  • App codes beat SMS codes, but they are not phishing-resistant: a fake login page can relay a code in real time.
  • Save your backup codes and set up a second device before you need them, or a lost phone can lock you out.

A password alone is not enough anymore. If it leaks in a breach or you type it into a fake login page, anyone can use it. An authentication app adds a second check that lives on your phone, and it is the single most effective upgrade most people can make in ten minutes.

What is an authentication app?

An authentication app is a mobile app that generates a one-time code or sends an approval prompt to prove it is really you signing in. It is the second factor in multi-factor authentication, used after your password.

When you sign in, the service asks for something you know, your password, and something you have, your phone with the app. An attacker who steals only your password still cannot get in, because the code changes every 30 seconds and only your phone can produce it.

The best-known apps are Microsoft Authenticator and Google Authenticator, both free for iOS and Android. Others include Authy, Duo Mobile and 1Password, which also stores authenticator codes inside its vault. Any app that supports the open TOTP standard works with most services, so you are not locked into one vendor.

CISA lists authenticator apps among its preferred MFA methods for businesses, ranking an app with number matching above plain push approval, and both above SMS codes. Its guidance for businesses says to require MFA wherever possible, starting with admin accounts and anyone who handles sensitive data.

How does an authentication app work?

Most authentication apps use TOTP, a time-based one-time password. When you enroll, the service and your app share a secret key, usually exchanged by scanning a QR code. Both sides then combine that secret with the current time to compute the same six-digit code.

The code changes every 30 seconds. You open the app, read the current code, and type it into the login screen before it expires. Because both sides use the same secret and the same clock, they agree without ever talking to each other, which is why codes work offline.

Some apps add a second mode: push approval. Instead of a code, the service sends a notification to your phone asking you to approve or deny the sign-in. Microsoft Authenticator adds number matching to this flow: the login screen shows a number, and you must enter that number in the app before approving.

Microsoft Authenticator also supports passwordless sign-in and passkeys. With a passkey stored in the app, you can sign in with your phone's biometric unlock or PIN instead of a password at all, and that method is phishing-resistant.

How a TOTP code is made1. Enroll onceScan a QR code on theservice's 2FA setup pageA shared secret is storedin the app and on the server2. Compute the codeSecret + current time,divided into 30-second steps,run through HMAC-SHA1(RFC 6238)3. Enter it fastSix digits, valid for30 seconds, then a newcode appears. The serveraccepts the matching code.No network needed: the phone and the server calculate the same code independently.Source: RFC 6238 (TOTP), default time step 30 seconds, six digits.
How TOTP codes work: one shared secret, the clock, and a 30-second window. Illustration by Cysoro.

What is TOTP and how does the 30-second code work?

TOTP stands for time-based one-time password, defined in RFC 6238. It takes the HOTP algorithm from RFC 4226 and replaces its event counter with the current Unix time divided into steps, by default 30 seconds long.

Each code is six digits by default, produced by running HMAC-SHA1 over the time-step counter with the shared secret, then truncating the result. The server accepts the code for the current step, and usually the step just before or after it, to allow for small clock differences.

The secret is the crown jewel. Anyone who copies it can generate your codes, so treat the QR code and setup key like a password: never screenshot it into a shared album, and never paste it into a chat. If a service lets you view the secret again later, that is a sign to rotate it.

Clock accuracy matters. If your phone's clock drifts by more than a minute, codes stop matching. Keep automatic date and time turned on, and if a code fails, check the time setting before assuming the account is broken.

What types of authentication apps are there?

Authentication apps fall into four groups, and the differences matter more than the brand name. The table below compares them on the points that decide which one fits you.

TypeHow you prove it is youWorks offline?Phishing-resistant?
TOTP code appSix-digit code, changes every 30 secondsYesNo
Push approval appTap approve on a phone notificationNoNo
Push with number matchingEnter the number shown on the login screenNoNo, but stops push fatigue
Passkey in an authenticator appBiometric or PIN, bound to the real siteYes, for the signing stepYes

A plain TOTP app such as Google Authenticator is the simplest option: it holds codes for any service, works offline, and since version 6.0 on Android and 4.0 on iOS it can sync codes to your Google Account so a new phone picks them up. Google also recommends turning on its Privacy Screen, which requires a PIN or biometric before the app opens.

Microsoft Authenticator covers all four modes for Microsoft accounts and Entra ID work accounts: OATH codes, push notifications, passwordless phone sign-in and device-bound passkeys stored in the phone's Secure Enclave or Secure Element. For a Microsoft 365 business, it is the natural default.

Some password managers, including 1Password and Bitwarden, can also generate TOTP codes inside the vault. That is convenient, but it puts both factors in one place: if someone gets into the vault, they get the codes too. Keep the authenticator separate from the password vault for your most important accounts, such as email and banking.

Is an authentication app better than SMS codes?

Yes, clearly. SMS codes travel over the phone network in plain text, can be intercepted, and can be redirected to an attacker's SIM through a SIM swap. An app code never travels anywhere: it is computed on your phone.

CISA ranks SMS and voice codes last among MFA methods, and its mobile guidance urges highly targeted people to migrate away from SMS-based MFA entirely. For less valuable accounts it still recommends a free authenticator app over SMS.

App codes are also more reliable. They work on a plane, in a basement, or abroad with no roaming, while an SMS can arrive late or not at all. The only catch is that you need the phone itself, so keep a backup method ready.

That said, an app code is not the strongest option available. NIST SP 800-63B-4, finalized in July 2025, is explicit that authenticators requiring manual entry of a code are not phishing-resistant, because an attacker can relay the code from a fake login page in real time. Passkeys and FIDO2 security keys bind the response to the real site, so they cannot be relayed.

Which authentication app should you choose?

Choose by the accounts you actually use, not by app-store ratings. If your work runs on Microsoft 365, Microsoft Authenticator is the obvious pick. If your life runs on Google, Google Authenticator is the simplest. Both are free.

  • Microsoft Authenticator: best for Microsoft and Entra ID accounts. Push with number matching, passwordless sign-in, device-bound passkeys, and TOTP for third-party sites. Free for iOS and Android.
  • Google Authenticator: best for a simple, no-frills TOTP app. Codes sync to your Google Account, work offline, and cover any service that supports authenticator codes. Free, with a Privacy Screen option.
  • Authy: best for multi-device sync with encrypted cloud backup, useful if you switch phones often. Check its current backup and recovery options before relying on them.
  • Duo Mobile: best if your employer or university uses Cisco Duo, which manages enrollment and push approvals centrally.
  • 1Password or Bitwarden: best if you want codes next to your passwords for low-risk accounts, with a separate app kept for email, banking and admin accounts.

Avoid apps that ask for unnecessary permissions, show ads, or cannot export your accounts. A free authenticator from a major vendor is safer than a random app with a pretty icon, because the secret keys it holds are the keys to your accounts.

How do I set up an authentication app?

Setting up an app takes about five minutes per account. Do your email account first, because email is the recovery path for almost everything else.

  1. Install the app from the official App Store or Google Play listing, and lock it behind your phone's PIN or biometric.
  2. Open the account's security settings and turn on two-step verification or two-factor authentication. Choose "authenticator app" as the method.
  3. Scan the QR code with the app, or type the setup key manually if scanning fails. The app starts showing six-digit codes immediately.
  4. Enter the current code on the setup page to confirm the pairing works.
  5. Save the backup codes the service shows you. Print them or store them in your password manager, somewhere other than the phone itself.
  6. Add a second method if the service offers one, such as a security key or a second phone, so one lost device cannot lock you out.

Repeat the process for banking, cloud storage, social media and work accounts. Prioritize the accounts that can reset the others: email first, then password manager, then banking, then everything else.

Never approve a sign-in you did not startIf your phone buzzes with an approval request you did not trigger, tap Deny and change your password immediately. Attackers send repeated prompts, called push fatigue or MFA bombing, hoping you will approve one just to stop the noise.

What should you do if you lose your phone?

Act quickly but do not panic: your codes are only useful to someone who also has your passwords. Start with the recovery options you set up in advance.

If your codes sync to a cloud account, as Google Authenticator does when signed in, install the app on a replacement phone and sign in to restore them. If they were stored only on the lost device, use the backup codes you saved at setup to sign in and re-enroll the new phone.

If you have no backup codes, use each service's account recovery flow. That usually means proving your identity another way, such as a recovery email or a security key, and it can take days. For work accounts, contact IT, which can reset your MFA enrollment after verifying you.

While you recover, remotely lock or erase the lost phone through your Apple or Google account. Also review recent sign-ins on your email account for anything you do not recognize, and check whether a password you reused appears in known breaches with our pwned password checker.

Lost your phone? Recovery checklistDo immediately1. Remotely lock or erase the phone2. Sign in with a saved backup code3. Check email for unknown sign-ins4. Re-enroll the new phoneSet up before it happens1. Save backup codes off the phone2. Turn on cloud sync if offered3. Add a security key as a spare4. Keep a second enrolled device
Recovery is easy if you prepared; painful if you did not. Illustration by Cysoro.

What mistakes do people make with authentication apps?

The most common mistake is setting up the app and never saving the backup codes. The second is enrolling only one device, so a broken screen means a lockout. The third is approving push prompts without reading them.

Other mistakes are subtler. Some people screenshot the QR code during setup and leave it in their camera roll, where a backup or a shared album exposes the secret. Some enroll the app on a work phone they must return when they leave a job. And some treat the app as a cure-all, reusing the same weak password everywhere because the app feels like enough protection.

For businesses, the classic mistake is rolling out app MFA without number matching, then watching attackers wear staff down with push fatigue. Turn on number matching in Entra ID, require phishing-resistant methods for admins, and make the reporting path obvious: a denied prompt should be reported, not just dismissed.

Our guide to spear phishing explains how attackers build the fake login pages that relay app codes, and why a call-back rule matters when money is involved.

The bottom line

An authentication app is the cheapest, fastest security upgrade available: free, five minutes to set up, and it blocks the most common account-takeover path, a stolen password used alone. Start with your email, save your backup codes, and add a second device or security key as a spare.

Then go one step further for the accounts that matter most. Move admins and finance staff to passkeys or security keys, which NIST and CISA both rank above app codes because they cannot be phished.

You can check whether your passwords have already leaked with the free pwned password checker.

Generate a fresh, unique password for each account with the password generator.

Frequently asked questions

What is an authentication app?

An authentication app is a mobile app that proves your identity with a second factor after your password. It usually generates a six-digit code that changes every 30 seconds, or it sends a push prompt you approve on your phone.

Is an authentication app the same as a password manager?

No. An authentication app proves who you are at sign-in, while a password manager stores and fills in your passwords. Some password managers also generate authenticator codes, but the two jobs are different and you can use both together.

Do authentication apps work without internet?

Time-based codes work without internet or mobile service, because the app and the server both compute the same code from a shared secret and the time. Push approval prompts do need an internet connection.

Which authentication app should I use?

Microsoft Authenticator is the best pick if you use Microsoft 365 or Entra ID, because it adds push approval with number matching and passkeys. Google Authenticator is a simple, free choice for Google and other accounts. Any app that supports the TOTP standard works with most services.

Are authentication apps safe?

Yes, they are much safer than SMS codes, which can be intercepted or redirected by a SIM swap. They are not phishing-resistant, though: if you type a code into a fake login page, an attacker can relay it in real time, so passkeys or security keys are stronger for high-value accounts.

What happens if I lose my phone with my authentication app?

Use the backup codes you saved when you set up two-factor authentication, or use another enrolled method such as a security key. If you have no backup, you will need to go through the account recovery process for each service, which is why setting up backups in advance matters.

Can I use one authentication app for all my accounts?

Yes. One app can hold codes for many accounts and services, not just the vendor that made it. Microsoft Authenticator and Google Authenticator both generate standard TOTP codes for third-party sites such as GitHub, Amazon and Facebook.

What is the difference between TOTP and push authentication?

TOTP is a six-digit code the app generates from a secret and the clock, which you type into the login screen. Push authentication sends a notification to your phone asking you to approve or deny the sign-in, sometimes by entering a number shown on the login screen.

Sources

  1. NIST — SP 800-63B-4, Digital Identity Guidelines: Authentication and Authenticator Management
  2. CISA — Four Cybersecurity Essentials for Businesses
  3. Microsoft Learn — Microsoft Authenticator authentication method
  4. Google Support — Get verification codes with Google Authenticator
  5. IETF — RFC 6238, TOTP: Time-Based One-Time Password Algorithm
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against NIST SP 800-63B-4, CISA MFA guidance, Microsoft Learn, Google Support and RFC 6238.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free