Join our Newsletter — 33% off our NHI Course

What is the difference between TOTP and WebAuthn for enterprise MFA?

TOTP uses a shared secret to generate short-lived codes, so it can still be intercepted by phishing or malware that captures the code or seed. WebAuthn uses a private key stored on a device and verifies the destination website during authentication. In practice, WebAuthn is far stronger against phishing because the credential is bound to the real origin.

Why This Matters for Security Teams

Enterprise MFA is not just a user experience choice. It changes how well an organisation resists phishing, token theft, help desk abuse, and session hijacking. TOTP is easy to deploy and still useful as a second factor, but it relies on a shared secret and a user-entered code. WebAuthn shifts the trust model by using a private key on a device and verifying the relying party, which is why it better fits modern phishing-resistant access control.

That matters in real environments where identity attacks often target the weakest authentication path rather than the strongest one. NHI Mgmt Group notes that 80% of identity breaches involved compromised non-human identities such as service accounts and API keys, and the same broader lesson applies to human access: when secrets or codes can be replayed, attackers exploit them. Guidance in NIST SP 800-63 Digital Identity Guidelines aligns with this shift toward stronger authenticators.

For security teams, the practical question is not whether MFA exists, but whether it meaningfully blocks the attack patterns most likely to succeed. In practice, many security teams discover the limits of TOTP only after a phishing kit or session replay has already bypassed it.

How It Works in Practice

TOTP is based on a time-synchronised shared secret. The authenticator app and server both know the seed, and both compute a short-lived code. That makes TOTP simple to roll out, but it also means the code is only as safe as the device, browser, and channel used to enter it. If a user types the code into a fake login page, the attacker can often reuse it quickly enough to complete sign-in.

WebAuthn works differently. The authenticator holds a private key that never leaves the device, and the browser proves the site’s origin before the credential is used. That origin binding is the key security difference. It reduces phishing risk because a credential issued for one site will not validate on a lookalike domain. For enterprises, this makes WebAuthn a stronger fit for admin accounts, remote workforce access, and any workflow where credential replay would be especially damaging.

  • Use TOTP where you need a broad, low-friction second factor, but treat it as weaker against phishing and code interception.
  • Use WebAuthn for privileged users, finance, IT admins, and high-risk SaaS access where phishing resistance matters most.
  • Pair WebAuthn with conditional access, device posture checks, and recovery controls so account recovery does not become the weakest step.
  • Review whether your help desk can bypass MFA, because social engineering often targets reset flows rather than the factor itself.

From an NHI perspective, the same principle appears in identity governance: trust should be bound to the real entity and the real context, not just to a reusable secret. That is why the Ultimate Guide to NHIs — Why NHI Security Matters Now is useful background when enterprises are trying to reduce secret-based access patterns. The broader NHI reference in the Ultimate Guide to NHIs — What are Non-Human Identities also helps teams frame authentication as lifecycle-managed identity, not just login protection.

These controls tend to break down when legacy applications, shared kiosks, or unmanaged BYOD devices cannot support WebAuthn reliably because recovery, enrollment, and device trust become inconsistent.

Common Variations and Edge Cases

Tighter phishing-resistant MFA often increases deployment and support overhead, requiring organisations to balance security gains against device compatibility and recovery complexity. That tradeoff is real, especially in mixed estates with contractors, call centres, or older browsers and mobile apps that do not fully support modern authenticators.

Current guidance suggests treating WebAuthn as the preferred path for high-risk access and using TOTP as a transitional or fallback factor, not the default endpoint for privileged users. That said, there is no universal standard for every recovery scenario yet. Some organisations allow TOTP as a backup only after stronger enrollment proofing, while others require hardware-backed recovery credentials or in-person identity verification.

Another edge case is the difference between “MFA enabled” and “MFA resistant to phishing.” A second factor that can be phished is still better than password-only access, but it does not neutralise adversary-in-the-middle kits. For that reason, a mature program usually sets WebAuthn as the target state for administrators and high-impact applications, then phases TOTP down where the business can support it. This is consistent with NIST SP 800-53 Rev 5 Security and Privacy Controls, which pushes organisations toward stronger authentication and access safeguards.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Non-Human Identity Top 10 and CSA MAESTRO address the attack and risk surface, while NIST SP 800-63, NIST CSF 2.0 and NIST AI RMF set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST SP 800-63 AAL2 / AAL3 Defines authenticator assurance and phishing-resistant MFA expectations.
NIST CSF 2.0 PR.AC-7 Supports stronger authentication for users and privileged access.
OWASP Non-Human Identity Top 10 NHI-03 Shared secrets and replayable credentials are central identity risks.
CSA MAESTRO IAM Covers identity controls for modern cloud and agent-driven environments.
NIST AI RMF GOVERN Authentication strength affects accountability and trust in AI-enabled workflows.

Use WebAuthn for higher assurance access and reserve TOTP for lower-risk or transitional cases.