How can we help?

Search for answers or browse our knowledge base.

Table of Contents

Adding supplementary 2FA methods to WP 2FA

WP 2FA offers several 2FA authentication methods, which are available straight out of the box. These include:

  • TOTP (one-time code via an app)
  • Email HOTP (one-time code via email)
  • Email link
  • SMS (via third-party services)
  • Push notifications (via a third-party service)

You’ll also find a selection of 2FA backup methods, helping you ensure users are not locked out should their primary 2FA authentication method become unavailable (such as their phone running out of battery).

However, you might want to add supplementary authentication methods that we do not currently support. In such scenarios, you can freely integrate a third-party service provider through the provided API.

How does it work?

The Melapress WP 2FA API provides several methods and hooks for integrating 2FA service providers not currently available in the plugin. You can add both primary and secondary (backup) 2FA methods, giving you complete freedom over which authentication methods you offer to your users.

Any methods you add will be listed alongside any ‘native methods’ you make available to your users, with hooks specifically available for this purpose. This ensures seamless integration with the plugin for maximal cohesion.

The API has been developed in such a way that it provides you with considerable flexibility over how any supplementary 2FA authentication methods are implemented. This ensures that different methods can easily be integrated.

All requirements and conventions you need to know are listed in the API technical documentation. Here you’ll also find sample implementations and all available hooks.

Go to documentation

Navigating the documentation

The documentation, which you’ll find on our GitHub repository, is split into two parts. The first part details how to add a primary 2FA method, while the second part focuses on how to add secondary (backup) methods. Here, you can choose to implement a main method only, a backup method only, or both.

None of the hooks are mandatory by default – this will largely depend on the 2FA method you choose to add. Comments in the code snippets will help you determine whether you need a given hook or not.

Go to documentation

When to add supplementary 2FA methods

While we endeavor to add as many 2FA authentication methods as possible and even add new ones from time to time, we also understand that our customers need flexibility. Whether you’re already using a specific 2FA authentication method in your organization that you would like to add to WordPress or simply want to offer your users more options, the API is there to enable you to do just that.

Adding such a service can be quite technical. As such, we recommend someone with experience in PHP and WordPress undertake any implementation since

Our support team is also ready to assist you with any questions you might have.

Open a ticket to get in touch with us.

Uploading WP 2FA as a zip file in WordPress
WP 2FA in the WordPress plugin repository
Close

Installing WP 2FA Free

Congratulations on taking the first step towards enhancing your WordPress site's security with WP 2FA Free! You're now on your way to protecting your valuable data and ensuring peace of mind. No coding or technical knowledge is required.

 

Below are two ways to install WP 2FA on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for WP 2FA.

Download the WP 2FA plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading CAPTCHA 4WP as a zip file in WordPress
CAPTCHA 4WP in the WordPress plugin repository
Close

Installing CAPTCHA 4WP Free

Well done you. You're one step closer to safeguarding your WordPress website from spam and automated attacks with CAPTCHA 4WP. You'll be able to effortlessly integrate CAPTCHA into your forms and enjoy a website with enhanced security.

 

Below are two ways to install CAPTCHA 4WP on your website:

Go to your plugin dashboard on your site, then go to "Add New", and then search for CAPTCHA 4WP.

Download the CAPTCHA 4WP plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading WP Activity Log as a zip file in WordPress
WP Activity Log in the WordPress plugin repository
Close

Installing WP Activity Log Free on your website

You deserve a pat on the back for choosing to record user actions and changes on your website. That is the first step towards better user accountability, easier troubleshooting of website security, and many other benefits of issues.

 

Below are the two ways to install WP Activity Log on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for WP Activity Log.

Download the WP Activity Log plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2

Uploading Melapress Login Security as a zip file in WordPress
Melapress Login Security in the WordPress plugin repository
Close

Installing Melapress Login Security Free

Congratulations on taking control of your WordPress website's security by implementing robust login and password policies with Melapress Login Security. You can change your login page URL, limit failed login attempts, and reset passwords.

 

Below are two ways to install Melapress Login Security on your website:

Go to your plugin dashboard on your site, then go to "Add New" and then search for Melapress Login Security.

Download the Melapress Login Security plugin zip, then select upload in your plugin dashboard under "Add New".

OPTION 1

OPTION 2