The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 4,224 other subscribers

Google 2 factor authorization: “The code you entered didn’t verify. Learn more Tip: codes are time-dependent…”

Posted by jpluimers on 2014/01/18

Not sure what went wrong, but I could not use 2 factor authentication, but somehow the codes generated by the Google Authenticator didn’t work at all. When entering the codes, I got this message:

“The code you entered didn’t verify. Learn more Tip: codes are time-dependent. Make sure your phone is set to the correct local time.”

Of course both devices were having the same time, were in the same time zone, etc.

The “codes are time-dependent” – Google Search got me on the right track.

The fix was the second steps from this article (I updated the steps as some of the UI changed):

  1. go to https://accounts.google.com on a desktop/tablet,
  2. login,
  3. go to “Security” (https://www.google.com/settings/security),
  4. under “Password”, next to “2-step verification”, click on “Settings” (https://accounts.google.com/b/0/SmsAuthConfig),
  5. click “Move to a different phone” (mine was listed as “Android”),
  6. tick Android, iPhone or BlackBerry, then click “Continue”
  7. scan the on-screen QR code using Google Authenticator on your Android device (Authenticator -> Add account -> Scan barcode) and follow the rest of the instructions.
  8. To verify: open an anonymous browser window on your computer, login to https://plus.google.com (or any other Google service) using 2-step verification, and check if the newly generated codes work.

What this does is reset the authentication token on both the Google side and the Authenticator side.

For me, there was no need to delete cookies like zeitgeist described, but your mileage might vary.

–jeroen

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: