{"id":2876,"date":"2014-03-18T03:32:50","date_gmt":"2014-03-18T08:32:50","guid":{"rendered":"http:\/\/www.bytebot.net\/blog\/?p=2876"},"modified":"2014-03-18T03:32:50","modified_gmt":"2014-03-18T08:32:50","slug":"2-factor-authentication-and-time","status":"publish","type":"post","link":"https:\/\/www.bytebot.net\/blog\/archives\/2014\/03\/18\/2-factor-authentication-and-time","title":{"rendered":"2-factor authentication and time"},"content":{"rendered":"<p><a href=\"http:\/\/www.flickr.com\/photos\/byte\/54194045\/\" title=\"Flinders Street Station by byte, on Flickr\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" src=\"https:\/\/i0.wp.com\/farm1.staticflickr.com\/25\/54194045_b27cf03cfe_m.jpg?resize=240%2C160\" width=\"240\" height=\"160\" alt=\"Flinders Street Station\" align=\"right\" hspace=\"5\" vspace=\"5\"\/><\/a>I use <a href=\"https:\/\/code.google.com\/p\/google-authenticator\/\">Google Authenticator<\/a> for 2-factor authentication for some of the services I access. I had trouble accessing some of my sites due to getting an invalid token, and I was wondering what was going on.<\/p>\n<p>Turns out, the time on my phone was off. You need to let the network set the time, and you will suddenly be generating sensible codes again. This is <a href=\"https:\/\/support.google.com\/accounts\/answer\/185834?hl=en#sync\">documented<\/a> for Android (you can do this within the app), but on iOS it is a system-wide setting.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use Google Authenticator for 2-factor authentication for some of the services I access. I had trouble accessing some of my sites due to getting an invalid token, and I was wondering what was going on. Turns out, the time on my phone was off. You need to let the network set the time, and [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1503],"tags":[1641,1513,68],"class_list":["post-2876","post","type-post","status-publish","format-standard","hentry","category-tech","tag-2-factor-authentication","tag-2-step-authentication","tag-security"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/p4vJD-Ko","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/comments?post=2876"}],"version-history":[{"count":1,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2876\/revisions"}],"predecessor-version":[{"id":2877,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/posts\/2876\/revisions\/2877"}],"wp:attachment":[{"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/media?parent=2876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/categories?post=2876"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bytebot.net\/blog\/wp-json\/wp\/v2\/tags?post=2876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}