Open ronvince opened 3 years ago
Isn't that correct? From documentation window is "Tokens in the previous and future x-windows that should be considered valid. " So if you have window with value 300 it should accept 300 previous otp's.
I have tried window: 1 with step: 30. when I enter the code, it fails when a new code show in the app. It should accept one past code. Am I missing something?
While using otplib, I have noticed that for a secret key there are so many different OTP's that are valid at given point of time
Steps to reproduce the behavior: