Open IvRRimum opened 5 years ago
I have the same Tokens mismatch
issue but your code doesn't seem right to me. Why is authCode
hard coded? you should take it out of your authenticator app, not choose randomly
I have the same Tokens mismatch
issue when I choose crypto.SHA256
. When I change back to crypto.SHA1
it works fine.
FreeOTP
supports crypto.SHA1
, crypto.SHA256
and crypto.SHA512
.
Authy
, Google authenticator
, Microsoft authenticator
, Okta
support only crypto.SHA1
.
So, better to use only crypto.SHA1
for now...
So, yeah. Validate returns Tokens mismatch. I can't seem to understand why ://