Authentication App: Definition, How It Works & Choosing One
In this article
An authentication app is a software program that generates one‑time codes to verify your identity when you log into online services.
Background and Terminology
The phrase authentication app is a standard term in information‑security vocabulary. It combines the noun authentication—derived from the Greek authentikos meaning “real” or “genuine”—with the abbreviation app, short for “application”. The compound first appeared in technical documentation after the rise of mobile two‑factor authentication (2FA) in the early 2010s. In everyday language you might hear a sentence such as, “I set up an authentication app on my phone to protect my email account.”
How Authentication Apps Work
Most authentication apps implement the Time‑Based One‑Time Password (TOTP) algorithm defined in RFC 6238, which in turn builds on the HMAC‑Based One‑Time Password (HOTP) algorithm from RFC 4226. The process can be broken down into three steps:
- Secret generation. When you enable 2FA on a service, the service creates a random 160‑bit secret key and presents it as a QR code or a string of base‑32 characters.
- Secret enrollment. You open the authentication app, tap the “+” or “Add account” button, and either scan the QR code or type the secret manually. The app stores the secret locally on the device.
- Code generation. Every 30 seconds (the default interval) the app computes an HMAC‑SHA‑1 hash of the secret combined with the current Unix time step, then truncates the result to a six‑digit number. The same calculation performed by the service yields an identical code, which you type into the login screen.
Because the algorithm relies only on the shared secret and the device’s clock, the app works offline and does not require an internet connection after enrollment. Some apps also support push‑notification verification, where the service sends a signed request to the app and you approve it with a single tap; this adds convenience but still depends on the same cryptographic secret.
Setting Up an Authentication App
Below is a generic workflow that applies to most popular apps such as Google Authenticator, Microsoft Authenticator, Authy, and Duo Mobile. Menu labels may differ slightly between Android and iOS, but the overall steps are the same.
- Download the app from the official Google Play Store or Apple App Store.
- Open the app and look for a button labeled “+”, “Add account”, or a camera icon.
- On the website or in the app where you want to enable 2FA, locate the security settings (often under Settings > Security > Two‑Factor Authentication).
- Select the option to use an authenticator app. The service will display a QR code and usually also a textual secret.
- In the authentication app, choose “Scan QR code” and point your device’s camera at the on‑screen code, or choose “Enter key manually” and type the secret exactly as shown.
- The app will immediately create a six‑digit code. Return to the service’s verification screen and type the current code.
- If the code is accepted, the service marks the authenticator as active. Most services also provide a set of backup codes—store these in a safe place in case you lose access to the app.
Choosing the Right Authentication App
Not all apps are created equal. Consider the following factors before settling on one:
- Platform support. Verify that the app runs on all devices you use (Android, iOS, tablets, possibly desktop).
- Backup and sync. Some apps (e.g., Authy) offer encrypted cloud backup that can be restored on a new phone, while others keep secrets only on the local device.
- Push‑notification capability. If you prefer approving a login with a single tap instead of typing a code, choose an app that supports push.
- Open‑source vs proprietary. Open‑source apps such as andOTP allow you to audit the code yourself, which may be important for security‑conscious users.
- Usability. Look for clear UI, the ability to rename accounts, and support for multiple accounts per service.
Common Problems and How to Fix Them
Even a well‑designed authentication app can run into hiccups. Below are frequent issues and recommended fixes.
- Time drift. If the generated codes are consistently off by one interval, open the app’s settings and enable “Sync with server time” or manually adjust the device’s clock to automatic network time.
- Lost or broken phone. Use the backup codes you saved when you first enrolled. If you had cloud backup enabled, reinstall the app on a new device and restore from the encrypted backup.
- App not generating codes. Ensure the app has permission to run in the background and that battery‑optimisation settings are not preventing it from updating. A quick restart of the app or the device often resolves the issue.
- QR code unreadable. Switch to the manual entry option and type the base‑32 secret exactly as displayed, paying attention to the letters “O” and “0”.
- Multiple devices showing different codes. Each device must store the same secret. If you added the account separately on each device, they will generate identical codes; if one device shows a different code, re‑scan the QR code on that device.
Cost, Safety, and Privacy Considerations
Most mainstream authentication apps are free to download and use. They do not charge for generating TOTP codes. However, features such as encrypted cloud backup may be part of a paid tier in some products; the core functionality remains free.
From a safety perspective, the secret key never leaves the device except when you intentionally back it up. Choose an app that stores the secret in the device’s secure enclave or encrypted storage. Avoid apps that require you to create an online account solely for code generation, unless the service clearly states that the secret is encrypted with a key only you know.
Privacy‑wise, reputable apps do not collect usage data about the accounts you protect. Review the privacy policy before installing; look for statements that the app does not transmit the generated codes or the shared secrets to any external server.
Alternatives to Authentication Apps
If an authentication app does not fit your workflow, other second‑factor methods exist:
- SMS or voice codes. The service sends a one‑time code to your phone number. This method is convenient but vulnerable to SIM‑swap attacks.
- Hardware security keys. Devices such as YubiKey implement the FIDO U2F or FIDO2 standards and provide phishing‑resistant authentication via USB, NFC, or Bluetooth.
- Password managers with built‑in TOTP. Some managers (e.g., Bitwarden, 1Password) can store the secret and generate codes alongside passwords, reducing the number of apps you need.
- Biometric factors. Fingerprint or facial recognition can be used as a second factor when the service supports it, but it usually complements rather than replaces a TOTP app.
Frequently Asked Questions
What exactly is an authentication app?
An authentication app is a mobile or desktop program that creates short, time‑limited numeric codes (usually six digits) based on a secret shared with an online service, allowing you to prove you own the device during login.
How do I set up two‑factor authentication with an app?
Enable 2FA in the service’s security settings, choose the “authenticator app” option, scan the displayed QR code with your chosen app, then enter the first code the app shows to confirm the link.
Why does my authentication code change every 30 seconds?
The TOTP algorithm divides Unix time into 30‑second intervals. Each interval produces a new hash value, which is truncated to a six‑digit code, ensuring that a code is only valid for a short window and cannot be reused.
What should I do if I lose my phone that has the authentication app?
Use the backup codes you saved when you first set up 2FA. If you had cloud backup enabled, reinstall the app on a new device and restore the encrypted backup. After regaining access, update the 2FA settings with a new secret.
Can I use the same authentication app on multiple devices?
Yes, provided the app supports exporting or syncing the secret. Scan the same QR code on each device, or use the app’s encrypted backup feature to transfer the secret securely.