Security

A user's authenticator app shows a new code every 30 seconds, but the server rejects each one. The phone's clock was manually set several minutes ahead. What is the most likely cause?

Show the answer

Correct answerB. The phone's clock no longer matches the server's time.

AWhy not this: An expired password is a separate check and does not make correct one-time codes fail.

BWhy this is right: TOTP derives each code from the current time, so a skewed clock produces non-matching codes.

CWhy not this: TOTP codes are calculated locally, so signal is not needed to generate or validate them.

DWhy not this: Counter drift affects event-based codes; TOTP depends on time, not a counter.

A TOTP code is calculated from a shared secret and the current time, so a phone clock that differs from the server's produces codes the server does not expect. A counter mismatch applies to event-based codes, not time-based ones.