question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Does not agree with google authenticator app !

See original GitHub issue

First of all thanks for the amazing work you guys have put in. I am using speakeasy on a production project and it appears that google authenticator does not work with this library if “the OTP is generated via google auth app in a different timezone.” the library works just fine with Authy I have my servers in Atlanta US and I was trying to access it from switzerland and I found about this issue. I am using speakeasy version 2.0.0 A quick response is much appreciated 😃 and thanks in advance

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
adraicommented, Feb 21, 2018

If you have to support Android devices, make sure you’re using algorithm: sha1

0reactions
adraicommented, Feb 21, 2018

The default is always sha1 (https://github.com/speakeasyjs/speakeasy#totp). As long as you do not set the algorithm to sha256 or sha512 in combination with Android devices, everything is fine.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix common issues with 2-Step Verification - Google Support
My Google Authenticator codes don't work · On your Android device, go to the main menu of the Google Authenticator app. · Tap...
Read more >
How to Fix Google Authenticator Codes That Have Stopped ...
All you have to do is make sure your Google Authenticator app's time is synced correctly. Launch the app, tap the menu button...
Read more >
Troubleshooting issues with Authy or Google Authenticator
My Authy or Google Authenticator App won't scan the barcode. Try restarting your mobile device and begin again. If this doesn't work then...
Read more >
Google Authenticator does not work on my Android device ...
If the Google Authenticator codes do not appear to work when you're logging in, check that your Android device's clock is accurate, or...
Read more >
Google two factor authenticator (2FA) code not working
The most common cause of 2-factor authentication problems is that the time on your Google Authenticator app is not synced correctly. This guide...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found