Search for answers or browse our knowledge base.
How to set up WP 2FA to use Authy push notifications authentication
WP 2FA supports Authy push notifications as one of the 2FA authentication methods – giving you the opportunity to use Authy push notifications on your WordPress website.
In this knowledge base article, we will be going through the entire process of setting up Authy on WP 2FA for the first time – from setting up a Twilio account (Authy is a service provided by Twilio) all the way to configuring your WordPress website to use Authy.
Step 1: Create a Twilio Account
Authy is offered by Twilio – a customer engagement platform company. We need a Twilio account to access and configure Authy, which we will set up now.
- Head to twilio.com
- Sign up for a Developer account
You will also need to download Authy on your phone and configure the app accordingly. You need this app to receive the push notifications required for logging in.
Step 2: Subscribe to Authy
Once you have your Twilio account set up, log in and go straight to the Console. From here, click the Explore Products option from the menu on the right and then click on Authy.
Now that you have subscribed to Authy, it is time to configure it:
- Click the blue Get Started button
- Verify your phone number
- Save your recovery code
Step 3: Build your Authy application
In the next step, we will build our Authy application. Think of an application as an instance of Authy, which has a particular set of configurations that match your settings. When an application is created, you will get an API key – which you need to enter in WP 2FA. API, which stands for Application Programming Interface, essentially establishes a language and a communication channel that allows two applications to communicate with each other.
First, we give it a friendly name that will make it easy to recognize. This can be especially critical if you are using Authy for other services or websites. Click the blue Create Application button to confirm the name.
Once that is done, you will need to enter your first user, which in this case, can be your own account. This will allow you to run tests to make sure that everything is working properly before deploying it to the rest of your users.
- Enter your email address
- Select the country code of your phone number from the drop-down menu
- Enter your phone number
Once ready, click on Make Request. You will receive an Authy request on your phone which you need to accept to complete the process.
Step 4: Configure WP 2FA
Now that the Authy application has been configured, we can go ahead and configure WP 2FA to use Authy push notifications. Before heading to your WordPress website, make sure you grab the Production API Key, which you’ll find on the application’s Settings page.
- Log into WordPress
- Navigate to WP 2FA > 2FA Policies
Depending on whether you have set up site-wide policies or role-based policies, navigate to the relevant tab and scroll down to the Select the allowed primary 2FA methods section.
From here, tick the checkbox next to Authy 2FA service and enter your Production API Key. The plugin will verify the API key and accept the new setting. Remember to scroll down to the end of the page and click the Save button.
Congratulations, you have successfully set up Authy push notifications authentication on your WordPress website.
Users will now be able to choose Authy as their 2FA authentication method of choice.