Description
Secure any action or page on your site with one-time password (SMS or Authenticator App), add phone number confirmation during registration, enable two-factor authorisation.
- Protect any pages and forms with password, SMS or Authenticator App
- Two-factor login with SMS and Authenticator App
- Phone number confirmation during registration and on different forms (e.g profile pages)
Screenshots
FAQ
-
How do I activate two-factor login?
-
- Enable the Two-Factor Login module in True Factor Auth / Modules section in admin panel.
- Adjust settings in True Factor Auth / Two-Factor Login section in admin panel.
- Two-factor login popup will be automatically added to the default login form (/wp-login.php). If you have any custom login forms, you’ll need to add corresponding selectors. See hints under form fields.
-
How do I activate mobile number confirmation on registration?
-
- Enable the Phone Number Confirmation module in True Factor Auth / Modules section in admin panel.
- Optional. If you want user phone number to be stored with certain meta key, navigate to True Factor Auth / SMS Settings section in admin panel and enter desired meta key in Phone Number Meta Key field. By default, phone number is stored with
_tfa_tel
meta key in the usermeta table. - Navigate to True Factor Auth / Phone Number Confirmation section in admin panel.
- Check the Require Phone Number Verification on Registration checkbox
- Phone number verification will be added automatically on the default registration form (/wp-login.php?action=register). If you have a custom registration form, add corresponding selectors in the Registration Forms Selectors field.
-
How do I publish user settings interface?
-
True Factor Auth offers three separate user settings widgets:
- Verification methods settings. Allows user to enable/disable verification methods in their account. Add short-code
[true-factor-auth-methods]
on target page to display this widget. - Login verification method. Displayed by
[true-factor-login-settings]
shortcode. - Custom Actions settings. Allow user to choose verifications methods separately for actions defined in Access Rules. Add
[true-factor-action-settings]
shortcode on target page to display this widget.
- Verification methods settings. Allows user to enable/disable verification methods in their account. Add short-code
-
How do I add password/sms/authenticator protection to a custom form on my site?
-
- Open True Factor Auth / Access Rules page in the admin panel.
- Click “Add new” button next to page title.
- Fill required parameters for back-end. This is necessary to ensure that request is captured and filtered by True Factor on server side. Use Developer Tools in your browser to find out the request parameters of the form.
- Fill required parameters for front-end. They are needed to display the verification popup in browser. The Trigger selector is a CSS selector of a form which needs to be protected. Make sure to provide a selector that matches only target form. Do not use vague selectors like
body form
. - Fill the rest of parameters according to your needs and save the rule.
- Test your rule.
For more detailed instructions please see this article
-
Does True Factor Auth support integration with other plugins?
-
We designed our plugin in the way that, generally, it can be used with other plugins without special measures. However, since there are thousands of different plugins, we did not test for compatibility with all of them. If you faced a compatibility issue (or any other issue), please let us know and we’ll do our best to fix it.
-
What if I messed something with configuration or lost my phone and can not login any more?
-
If you defined wrong rules and got blocked from your site, you can temporarily disable True Factor Auth security check. You will need access to wp-config.php.
- Connect to your server via SSH or FTP
- Open wp-config.php in your site root directory
-
Add the following code after the first line:
define(‘TRUE_FACTOR_DISABLE’, 1);
-
Save the file
- Login and fix plugin settings via admin panel
- Don’t forget to remove previously added line from wp-config.php to re-enable True Factor
-
How can I customise popup dialogs?
-
First, you can customise the popup templates and button captions via admin panel.
See 2FA Verification / Settings page. The Custom Templates module must be activated.
Plugin uses Mustache engine for templates.
Also, you can override some plugin templates by copying files under
./templates
folder to/<your-theme-folder>/templates/true-factor-auth/
folder and editing them.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“True Factor Auth” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “True Factor Auth” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
Initial release.