olsio / otp-client

MIT License
11 stars 6 forks source link

How to generate tokens as same as Google Authenticator does? #11

Open hayr-hotoca opened 5 years ago

hayr-hotoca commented 5 years ago

Hello,

Your library is great. I just wonder what options config i need to do if i want to generate token from 2fa secret like Google Authenticator does?

Thanks

tomercy commented 4 years ago

Hey @lincdh, did you solve your issue? I'm facing the same thing...

osamaqarem commented 4 years ago

I faced a smiliar issue, but I needed the same TOTP tokens as FreeOTP. Since it is open source, I built a plugin around their code and I'm now able to generate the same TOTP tokens.

https://github.com/osamaq/react-native-freeotp