Google Authenticator for your WordPress blog.
|Author:||Ivan Kruchkoff (profile at wordpress.org)|
|WordPress version required:||4.5|
|WordPress version tested:||5.2|
|Added to WordPress repository:||16-05-2011|
|Total downloads:||284 648|
|Active installs:||30 000+|
Click to start download
The enhanced log-in box.
Google Authenticator section on the Profile and Personal options page.
QR code on the Profile and Personal options page.
Google Authenticator app on Android
Can I use Google Authenticator for WordPress with the Android/iPhone apps for WordPress?
Yes, you can enable the App password feature to make that possible, but notice that the XMLRPC interface isn’t protected by two-factor authentication, only a long password.
I want to update the secret, should I just scan the new QR code after creating a new secret?
No, you’ll have to delete the existing account from the Google Authenticator app on your smartphone before you scan the new QR code, that is unless you change the description as well.
I am unable to log in using this plugin, what’s wrong ?
The Google Authenticator verification codes are time based, so it’s crucial that the clock in your phone is accurate and in sync with the clock on the server where your WordPress installation is hosted.
If you have an Android phone, you can use an app like ClockSync to set your clock in case your Cell provider doesn’t provide accurate time information
Another option is to enable “relaxed mode” in the settings for the plugin, this will enable more valid codes by allowing up to a 4 min. timedrift in each direction.
I have several users on my WordPress installation, is that a supported configuration ?
Yes, each user has his own Google Authenticator settings.
During installation I forgot the thing about making sure my webhost is capable of providing accurate time information, I’m now unable to login, please help.
If you have SSH or FTP access to your webhosting account, you can manually delete the plugin from your WordPress installation,
just delete the wp-content/plugins/google-authenticator directory, and you’ll be able to login using username/password again.
I don’t own a Smartphone, isn’t there another way to generate these secret codes ?
Yes, there is a webbased version here : https://gauth.apps.gbraad.nl/
Github project here : https://github.com/gbraad/gauth
Can I create backupcodes ?
No, but if you’re using an Android smartphone you can replace the Google Authenticator app with Authenticator Plus.
It’s a really nice app that can import your existing settings, sync between devices and backup/restore using your sd-card.
It’s not a free app, but it’s well worth the money.
Any known incompatabilities ?
Yes, the Man-in-the-middle attack/replay detection code isn’t compatible with the test/setup mode in the “Stop spammer registration plugin”,
please remember to remove the “Check credentials on all login attempts” checkmark before installing my plugin.
- Add a Dutch translation
- Add a Portuguese translation
- Fix a regression that broke app passwords
- New maintainer ivankk
- Conditionally include base32 class
- More streamlined sign-up flow for users, configuration screen for admins.
- Multisite support to either enable 2fa by role on a site, and/or on a network.
- Added filter google_authenticator_needs_setup to determine if user needs to enable 2fa.
- Added two part login process that can ask for 2fa code on a second login screen.
- Fixed a security bug that continued check_otp even if authenticate had already returned an error.
- Security fix / compatability with WordPress 4.5
- Google chart API replaced with jquery-qrcode
- QR codes now contain a heading saying WordPress (Feature request by Flemming Mahler)
- Danish translation & updated .pot file.
- Plugin now logs login attempts recognized as Man-in-the-middle attacks.
- Man-in-the-middle attack protection added.
- Show warning before displaying the QR code.
- FAQ updated.
- Spaces in the description field should now work on iPhones.
- Some depricated function calls replaced.
- Code inputfield easier to use for .jp users now.
- Sanitize description field input.
- App password hash function switched to one that doesn’t have rainbow tables available.
- PHP notices occurring during app password login removed.
- Installation/FAQ section updated.
- Simplified Chinese translation by Kaijia Feng added.
- Tabindex on loginpage removed, no longer needed, was used by older WordPress installations.
- Inputfield renamed to “googleotp”.
- Defaultdescription changed to “WordPressBlog” to avoid trouble for iPhone users.
- Compatibility with Ryan Hellyer’s plugin http://geek.ryanhellyer.net/products/deactivate-google-authenticator/
- Must enter all 6 code digits.
- It’s now possible for an admin to hide the Google Authenticaator settings on a per-user basis. (Feature request by : Skate-O)
- Autocomplete disabled on code input field. (Feature request by : hiphopsmurf)
- Italian translation by Aldo Latino added.
- Bugfix, typo corrected and PHP notices removed. Thanks to Dion Hulse for his patch.
- Bugfix, Description was not saved to WordPress database when updating profile. Thanks to xxdesmus for noticing this.
- Usability fix, input field for codes changed from password to text type.
- The plugin now supports “relaxed mode” when authenticating. If selected, codes from 4 minutes before and 4 minutes after will work. 30 seconds before and after is still the default setting.
- Bugfix, now an App password can only be used for XMLRPC/APP-Request logins.
- Initial WordPress app support added (XMLRPC).
- Code cleanup
- Changed generation of secret key, to no longer have requirement of SHA256 on the server
- German translation
- Initial release