Skip to main content

Invalidate previous OTPs


The system must invalidate previously generated OTPs when the generation of a new one is triggered.


One-time passwords (OTP) are secrets used during operations that need added security or as part of user enrollment processes. Despite their short lifespan, only one OTP should be valid at any given time, and therefore, all previous OTPs should be invalidated whenever a new one is generated.