Skip to content
Start with Identity
Concept

One-Time Password (OTP)

A one-time password (OTP) is a code that is valid for a single sign-in or transaction, either generated by an authenticator from a shared secret, as in HOTP (RFC 4226, counter-based) and TOTP (RFC 6238, time-based with a 30-second default step), or sent by the service over SMS, voice or email.

NIST SP 800-63B-4 states plainly that "OTP authentication is not phishing-resistant", because a code a person reads can be typed into a fake page and relayed before it expires. SMS and voice delivery add their own weaknesses, SIM swap and number porting among them, and NIST treats the phone network as a "restricted" authenticator that verifiers should only use after checking signals such as a recent SIM change. Both problems are live: the InsureOTP kit in July 2026 asked insurance customers for their OTP "as routine identity verification" and relayed it to the real portal, and Microsoft Entra ID stops delivering its own SMS and voice codes on February 1, 2027.

See also: HOTP, TOTP, OTP relay social engineering, two-factor authentication, phishing-resistant MFA

Related terms
Last reviewed By SWI Community TeamSuggest a correctionHow we research