Expired OTP codes are still usable when using FreeOTP when OTP token period is set to 30 seconds (default). It was found that instead of expiring and being unusable around 30 seconds in, the tokens actually are valid for an additional 30 seconds, to total 1 minute. In this case, this occurs with default OTP Policy settings of: OTP Type: Time-based OTP Hash Algorithm: SHA1 Number of digits: 6 Look around window: 1 OTP Token period: 30 seconds Reusable Token: off
Please add the steps to reproduce.
This issue has been addressed in the following products: Red Hat build of Keycloak 24 Via RHSA-2024:6502 https://access.redhat.com/errata/RHSA-2024:6502
This issue has been addressed in the following products: Red Hat build of Keycloak 22 Via RHSA-2024:6503 https://access.redhat.com/errata/RHSA-2024:6503
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days