We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 });
The text was updated successfully, but these errors were encountered:
Did you find a fix for this?
Sorry, something went wrong.
Seeing the same issue.
No branches or pull requests
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 });
The text was updated successfully, but these errors were encountered: