Open
Description
Why do sometimes speakeasy.totp.verify() method return false even though the secret and token matches.
Can anyone tell me if there is any issue with the way i use it?
Below is my implementation to create a token and verify a token
speakeasy.totp({ secret, encoding: 'base32', digits: 4, step: 600 });
speakeasy.totp.verify({ secret, token, encoding: 'base32', step: 600, digits: 4 });
Metadata
Metadata
Assignees
Labels
No labels