Google Authenticator
Google Authenticator adds a second step to the WordPress login. After their password, users enter a 6-digit code from an authenticator app on their phone, so a stolen password alone is no longer enough to get in. It works with Google Authenticator and any other app that supports time-based one-time
Google Authenticator adds a second step to the WordPress login. After their password, users enter a 6-digit code from an authenticator app on their phone, so a stolen password alone is no longer enough to get in.
It works with Google Authenticator and any other app that supports time-based one-time passwords (TOTP), such as Microsoft Authenticator, Authy, 1Password, Bitwarden or KeePassXC.
Features
- Per-user two-factor authentication. Each user turns it on from their profile and scans a QR code with their app.
- Mandatory 2FA by role. Administrators can require it for chosen roles, such as Administrator and Editor. Users with any of those roles are sent to a setup page until they have enrolled. On multisite this can be set per site or for the whole network, and the network settings can also require it for all Super Admins.
- Brute-force protection. After 5 wrong codes sent with the correct password, further attempts are blocked for 1 minute, doubling with each further wrong code up to 1 hour.
- Replay protection. Each code can only be used once.
- Two-screen sign-in (optional). Ask for the code on a second screen after the username and password.
- Relaxed mode for phones whose clock drifts, accepting codes from up to 4 minutes either side.
- App passwords for XML-RPC clients that can’t ask for a code.
- Admin controls. Administrators can turn two-factor authentication off for a user, or hide the settings from them.
Please note that turning on the App password feature lowers the security of that account: XML-RPC logins with an app password don’t need a code, only the long app password.
Credits
Thanks to:
Kuba (Wordfence) for responsibly disclosing an XML-RPC app password authentication bypass.
Miguel Mendez Z for responsibly disclosing a CSRF account lockout vulnerability.
Oleksiy for a bugfix in multisite.
Paweł Nowacki for the Polish translation
Fabio Zumbi for the Portuguese translation
Guido Schalkx for the Dutch translation.
Henrik.Schack for writing/maintaining versions 0.20 through 0.48