SMS OTP Recovery Design: Keep Expiry and Resend Limits Under Server Control
A retry in an SMS one-time-password login flow can resend a password-reset code, yet it may also deliver wording about expiry that the server's actual challenge no longer honors. For short-lived recovery messages on an education platform, the article recommends application-owned templates, server-held challenge state, and resend cooldowns enforced by the application itself. It argues that a successful send or a delivery receipt does not complete login or authorize a password change. Illustrative settings of a 300-second lifetime, 30-second cooldown, and five verification attempts show why remaining lifetime should be checked before any resend. The article also discusses provider-managed verification and direct messaging as alternatives depending on a team's needs.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in