{"id":63214,"date":"2024-02-13T12:06:34","date_gmt":"2024-02-13T17:06:34","guid":{"rendered":"https:\/\/memberpress.com\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/"},"modified":"2025-10-27T08:16:52","modified_gmt":"2025-10-27T12:16:52","slug":"memberpress-two-factor-authentication-with-wp-2fa","status":"publish","type":"ht_kb","link":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/","title":{"rendered":"Autentica\u00e7\u00e3o de dois fatores com o MemberPress e o plug-in WP 2FA"},"content":{"rendered":"\n<p>WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform.<\/p>\n\n\n\n<p>This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the <a href=\"https:\/\/wordpress.org\/plugins\/wp-2fa\/\"><b>WP 2FA<\/b><\/a> plugin.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-info\"><strong>Note:<\/strong> This integration is available to MemberPress <strong>Growth<\/strong> and <strong>Scale<\/strong> plan members. If you're subscribed to the Launch plan, you can upgrade to the Growth and Scale plan. To upgrade, click the <strong>Change Plan<\/strong> link on your<a href=\"https:\/\/memberpress.com\/account\/subscriptions\/\"> <strong>account page<\/strong><\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is 2FA?<\/h2>\n\n\n\n<p>When enabled, 2FA requires website users to provide two authentication methods to access an online account or application.<\/p>\n\n\n\n<p>This added layer of security protects against password attacks and even prevents fake registrations. It will help safeguard sensitive information, ensure regulation compliance, and foster user trust.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WP 2FA Plugin Features<\/h3>\n\n\n\n<p>WP 2FA has a rich feature set that provides a streamlined Two-Factor Authentication setup for your membership sites. These include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Multiple Authentication Methods: Offers various authentication options, including TOTP and email-based verification;<\/li>\n\n\n\n<li>User Role Customization: Allows specification of which user roles require 2FA, providing role-based security customization;<\/li>\n\n\n\n<li>Backup Codes: Users can generate backup codes for secure login alternatives if primary 2FA fails;<\/li>\n\n\n\n<li>Logging and Reporting: Provides detailed logs and reports to monitor user activity and 2FA usage;<\/li>\n\n\n\n<li>Integration Compatibility: Seamlessly works with other WordPress plugins, themes, and membership systems, such as Memberpress, for a unified user experience.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How To Set Up WP 2FA?<\/h2>\n\n\n\n<p>Before you start, make sure you have the following setup in place:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>An active WordPress installation with admin access.<\/li>\n\n\n\n<li>A fully operational membership website powered by the Memberpress plugin.<\/li>\n<\/ol>\n\n\n\n<p>If you still haven\u2019t built your membership site, check the \u201c<a href=\"https:\/\/memberpress.com\/docs\/getting-started-with-memberpress\/\"><b>Getting Started With MemberPress<\/b><\/a>\u201d article to help you get started.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Installation<\/h3>\n\n\n\n<p>To enable Two-Factor Authentication, you will need to install the <a href=\"https:\/\/wordpress.org\/plugins\/wp-2fa\/\"><b>WP 2FA<\/b><\/a> plugin by MelaPress. This user-friendly plugin simplifies implementing 2FA on your membership websites.<\/p>\n\n\n\n<p>Go to your WordPress dashboard, navigate to Plugins > Add New, and type WP 2FA in the search bar.\u00a0<\/p>\n\n\n\n<figure data-wp-context=\"{\"imageId\":\"69e8a99376a29\"}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e8a99376a29\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-k0sI9OXHtX-1.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Ampliar\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Next, install and activate the WP 2FA plugin.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Configuring the WP 2FA plugin<\/h3>\n\n\n\n<p>After a successful plugin activation, you\u2019ll be directed to a wizard to configure two-factor authentication on your website.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-wAbxgao7uk-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-wAbxgao7uk-1.png\" alt=\"\"\/><\/a><\/figure>\n\n\n\n<p>This onboarding wizard walks you through a series of steps that help you set up 2FA without any difficulty, even for non-technical users. Everything set up with the help of the wizard can be changed or reconfigured from the plugin\u2019s settings.<\/p>\n\n\n\n<p>Click the \u201c<b>Let\u2019s Get Started<\/b>\u201d button to start the wizard, and follow the steps to configure the plugin:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In the first step, you can select the authentication methods you wish to use on your site. There are two options and we suggest you use both:\n<ol class=\"wp-block-list\">\n<li><b>One-time code via 2FA App (TOTP)<\/b> \u2013 this method will allow your members to use any supported authentication mobile app (Authy, Google Authenticator, Microsoft Authenticator, Duo Security, Lastpass, FreeOTP, or Okta Verify) for 2FA authentication and verification. This option is especially important in cases where your members lose access to their email and can\u2019t use the second (email) method;\u00a0<\/li>\n\n\n\n<li><b>One-time code via email (HOTP)<\/b> \u2013 with this method, your members will be able to get their 2FA codes over an email.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{\"imageId\":\"69e8a9937721e\"}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e8a9937721e\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-VTV70tmMCN-1.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Ampliar\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>In addition to primary authentication methods, WP 2FA offers secondary options such as <i>Backup Codes<\/i>. You can enable this in the second step.<\/li>\n\n\n\n<li>Next, the 2FA policies in the plugin allow you to choose whether to enforce 2FA and for whom:\n<ol class=\"wp-block-list\">\n<li><b>All users<\/b> \u2013 this will enforce 2FA to all of your users including all Administrator users;<\/li>\n\n\n\n<li><b>Only specific users and roles<\/b> \u2013 here you can enforce 2FA for specific users, or for all of your users with a certain user role assigned (e.g. by default, all your members will have the \u201c<b>Subscriber<\/b>\u201d user role);<\/li>\n\n\n\n<li><b>Do not enforce on any users<\/b> \u2013 this option will allow your users a decide if they want to enable 2FA.<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{\"imageId\":\"69e8a9937745b\"}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e8a9937745b\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-MOHUmfBNcg-1.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Ampliar\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<ol start=\"4\" class=\"wp-block-list\">\n<li>In the fourth step, you can also <i>exclude individual users or user roles<\/i> from the 2FA option you chose in the previous step.\u00a0<\/li>\n\n\n\n<li>You can also provide a grace period for users to enable 2FA in the final step:\n<ol class=\"wp-block-list\">\n<li><p><b>Users have to configure 2FA straight away<\/b> \u2013 this option will not allow users to access any page or post on your site after they log in, without setting the 2FA first;<a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-WbZBr8b5mG-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 688px; max-width: 100%;\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-WbZBr8b5mG-1.png\"><\/a><\/p><\/li>\n\n\n\n<li><p><b>Give users a grace period to configure 2FA<\/b> \u2013 this option will give users a set period to configure 2FA. In the meantime, your users will have access to your content (based on their membership).\u00a0With this option, you can also select if members should have access to the dashboard. In addition, you can choose where the 2FA setup notification should be displayed, reminding them to set 2FA.<a href=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-HT3VFM5KqD-1.png\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" style=\"width: 100%; max-width: 100%;\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-HT3VFM5KqD-1.png\"><\/a><\/p><\/li>\n<\/ol>\n<\/li>\n<\/ol>\n\n\n\n<p>Click the \u201c<b>All Done<\/b>\u201d button to finish the setup.\u00a0<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Creating 2FA Configuration Page For Members<\/h3>\n\n\n\n<p>Since typically members do not have access to the default WordPress dashboard, administrators can set the 2FA configuration page. This page is available to members on the front end and allows them to enable 2FA for their accounts.<\/p>\n\n\n\n<p>This page should be configured from your dashboard:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <i>Dashboard > WP 2FA > 2FA Policies<\/i>.<\/li>\n\n\n\n<li>Scroll down to the \u201c<b>Frontend 2FA settings page<\/b>\u201d option and set it to <b>Yes<\/b>.<\/li>\n\n\n\n<li>Provide a <b>URL for the page<\/b> where users can configure 2FA.<\/li>\n<\/ol>\n\n\n\n<figure data-wp-context=\"{\"imageId\":\"69e8a993777a0\"}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e8a993777a0\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-HqcKWIv8qy-1.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Ampliar\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>The plugin will automatically generate the page, which can be customized like any other WordPress page. On the same page, you can configure where your members should be redirected after they configure the 2FA setup.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Membership Registrations And 2FA<\/h3>\n\n\n\n<p>When a member registers for a membership or logs in, they will be automatically redirected to the Frontend 2FA settings page. On this page, they will be presented with the \u201c<b>Configure 2FA<\/b>\u201d button.\u00a0<\/p>\n\n\n\n<figure data-wp-context=\"{\"imageId\":\"69e8a9937797d\"}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e8a9937797d\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-5iwLIGExpn-1.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Ampliar\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>This button will start an easy-to-follow wizard guiding them through the <a href=\"https:\/\/melapress.com\/support\/kb\/wp-2fa-configuring-2fa-wordpress-user\/\"><b>2FA setup<\/b><\/a>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Adding 2FA To Custom Pages<\/h3>\n\n\n\n<p>Though the default WP 2FA configuration page is available out of the box, it might not always fit your needs. In this case, you might want to create a custom page and add a 2FA configuration option there. This could be a custom members area page or any other page you created for your members.\u00a0<\/p>\n\n\n\n<p>WP 2FA plugin facilitates this feature by providing <a href=\"https:\/\/melapress.com\/support\/kb\/wp-2fa-shortcodes-custom-2fa-user-configuration-page\/\"><b>shortcodes<\/b><\/a>. These shortcodes enable users to access the 2FA wizard on the custom front-end settings page.\u00a0<\/p>\n\n\n\n<figure data-wp-context=\"{\"imageId\":\"69e8a99377bae\"}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e8a99377bae\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-qVZkauDaYa-1.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Ampliar\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>To do this, you can simply add the following shortcode to your custom page:\u00a0<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><b>[wp-2fa-setup-form]<\/b><\/code><\/pre>\n\n\n\n<figure data-wp-context=\"{\"imageId\":\"69e8a99377d4a\"}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69e8a99377d4a\" class=\"wp-block-image wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-8DFYYHIw1J-1.png\" alt=\"\"\/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Ampliar\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>Also, this should be the page to which MemberPress redirects members upon logging in (the \u201c<b>URL to direct member to after login<\/b>\u201d option at <i>Dashboard > MemberPress > Settings > Account tab<\/i>).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preventing Fake Registrations<\/h2>\n\n\n\n<p>Fake registrations created for malicious activity (e.g. card testing) can create additional work and clutter in your backend. Two-factor authentification can also help you as an additional layer of protection against fake registrations.\u00a0<\/p>\n\n\n\n<p>By default, once the membership registration form is submitted by a new user, MemberPress will create a WordPress user account. Also, it will at the same time assign a transaction and a subscription to that user.<\/p>\n\n\n\n<p>To prevent transactions and subscriptions from being created for every fake user registration, you can split your registration process.<\/p>\n\n\n\n<p>With this workaround, you would protect all your membership registration pages making them available only to existing users. Then, you would create a user flow that will ask a user to register for a WordPress account first. Once registered and logged in, your users will need to go through two-factor authentification.<\/p>\n\n\n\n<p>They will be able to access the membership registration pages after that, as logged-in users.<\/p>\n\n\n\n<p>Follow these steps to create this alternative registration process:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <i>Dashboard > MemberPress > Rules<\/i>, and <a href=\"https:\/\/memberpress.com\/docs\/rules-overview\/\"><b>create a rule<\/b><\/a> to protect each of your registration pages. Within Access Conditions for these rules, you should set access only for your default WordPress user role. Unless you change the default settings, this will be the \u201c<b>Subscriber<\/b>\u201d user role.<\/li>\n\n\n\n<li>Next, enable the default WordPress user registration by enabling \u201c<b>Anyone can register<\/b>\u201d under the \u201c<b>Membership<\/b>\u201d option. You can find this option by navigating to <i>Dashboard > Settings > General<\/i>.\u00a0<\/li>\n\n\n\n<li>Now, you will be able to use the default WordPress registration page. This page has the <b>\/wp-login.php?action=register<\/b> slug (e.g. <i>https:\/\/yourdomain.com\/wp-login.php?action=register<\/i>). You should link this page to all your registration buttons, links, and pages.<\/li>\n\n\n\n<li>Also, you should <b>set 2FA as mandatory for all users<\/b> at <i>Dashboard > WP 2FA > 2FA Policies<\/i>.\u00a0<\/li>\n<\/ol>\n\n\n\n<p>As a part of this flow, you could create a custom member area page. Here, you can add links to the user\u2019s account page, membership registration pages or pricing page, etc. Then, it could serve as the page on which users would land upon finishing the two-factor authentification process.\u00a0<\/p>\n\n\n\n<p>You would redirect users to this member area page after logging in. You can alternatively set this redirection to the MemberPress Account page or any page you would use as your members\u2019 welcome page.\u00a0<\/p>\n\n\n\n<p>With this workaround, only authorized users will be able to register for memberships. Thus, all subscriptions and transactions in your MemberPress backend will be related to users with confirmed emails.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Wrap Up<\/h2>\n\n\n\n<p>Adding the <a href=\"https:\/\/wordpress.org\/plugins\/wp-2fa\/\"><b>WP 2FA<\/b><\/a> plugin to your MemberPress powdered site enhances your security and helps you maintain your members' trust.<\/p>\n\n\n\n<p>WP 2FA simplifies 2FA implementation with user-friendly options and seamless integration with MemberPress during registration and login for administrators and members.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. What is 2FA? When enabled, 2FA requires website [\u2026]<\/p>\n","protected":false},"author":62252,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_acf_changed":false,"om_disable_all_campaigns":false,"_strive_editorial_status":"not-started","_strive_copy_of":0,"inline_featured_image":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","_FSMCFIC_featured_image_caption":"","_FSMCFIC_featured_image_nocaption":"","_FSMCFIC_featured_image_hide":"","_strive_checklists":"\"\"","_strive_active_checklist":"62291e2bb2422","footnotes":""},"ht-kb-category":[1290],"ht-kb-tag":[],"class_list":{"0":"post-63214","1":"ht_kb","2":"type-ht_kb","3":"status-publish","4":"format-standard","6":"ht_kb_category-third-party","7":"entry","8":"has-post-thumbnail"},"acf":[],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO Pro 4.9.5.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. Note: This integration is available to MemberPress Growth\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Nikola M\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO Pro (AIOSEO) 4.9.5.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"pt_BR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"MemberPress\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress\" \/>\n\t\t<meta property=\"og:description\" content=\"WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. Note: This integration is available to MemberPress Growth\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1650\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1275\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-02-13T17:06:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2025-10-27T12:16:52+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/memberpress\/\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@memberpress\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress\" \/>\n\t\t<meta name=\"twitter:description\" content=\"WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. Note: This integration is available to MemberPress Growth\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#article\",\"name\":\"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress\",\"headline\":\"Two-Factor Authentication With MemberPress And WP 2FA Plugin\",\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/file-k0sI9OXHtX-1.png\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#articleImage\",\"width\":2541,\"height\":1328},\"datePublished\":\"2024-02-13T12:06:34-05:00\",\"dateModified\":\"2025-10-27T08:16:52-04:00\",\"inLanguage\":\"pt-BR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#webpage\"},\"articleSection\":\"Third-Party\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/add-ons\\\/#listItem\",\"name\":\"Add-ons\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/add-ons\\\/#listItem\",\"position\":2,\"name\":\"Add-ons\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/add-ons\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/third-party\\\/#listItem\",\"name\":\"Third-Party\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/third-party\\\/#listItem\",\"position\":3,\"name\":\"Third-Party\",\"item\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/third-party\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#listItem\",\"name\":\"Two-Factor Authentication With MemberPress And WP 2FA Plugin\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/add-ons\\\/#listItem\",\"name\":\"Add-ons\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#listItem\",\"position\":4,\"name\":\"Two-Factor Authentication With MemberPress And WP 2FA Plugin\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/doc-categories\\\/third-party\\\/#listItem\",\"name\":\"Third-Party\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/uploads\\\/2022\\\/10\\\/mp-icon-RGB_Icon-01.jpg\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#organizationLogo\",\"width\":1650,\"height\":1275,\"caption\":\"memberpress logo icon\"},\"image\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/memberpress\\\/\",\"https:\\\/\\\/www.pinterest.com\\\/memberpressplugin\\\/\",\"https:\\\/\\\/www.youtube.com\\\/c\\\/MemberPressPlugin\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/memberpress\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/\",\"name\":\"Nikola M\",\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/memberpress.com\\\/wp-content\\\/litespeed\\\/avatar\\\/1edf820c48f9c430f380efe81887b154.jpg?ver=1776350726\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#webpage\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/\",\"name\":\"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress\",\"description\":\"WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. Note: This integration is available to MemberPress Growth\",\"inLanguage\":\"pt-BR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/docs\\\/memberpress-two-factor-authentication-with-wp-2fa\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/blog\\\/author\\\/nikolacaseproof-com\\\/#author\"},\"datePublished\":\"2024-02-13T12:06:34-05:00\",\"dateModified\":\"2025-10-27T08:16:52-04:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#website\",\"url\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/\",\"name\":\"MemberPress\",\"description\":\"The All-In-One WordPress Membership Plugin\",\"inLanguage\":\"pt-BR\",\"publisher\":{\"@id\":\"https:\\\/\\\/memberpress.com\\\/pt\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO Pro -->\r\n\t\t<title>Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress<\/title>\n\n","aioseo_head_json":{"title":"Autentica\u00e7\u00e3o de dois fatores com o MemberPress e o plug-in WP 2FA | MemberPress","description":"A seguran\u00e7a do site WordPress \u00e9 fundamental, especialmente quando se opera um site de associa\u00e7\u00e3o. Garantir a m\u00e1xima prote\u00e7\u00e3o e evitar registros falsos \u00e9 uma das principais prioridades para manter a integridade da sua plataforma. Esta documenta\u00e7\u00e3o explicar\u00e1 como adicionar a autentica\u00e7\u00e3o de dois fatores (2FA) ao MemberPress usando o plug-in WP 2FA. Observa\u00e7\u00e3o: essa integra\u00e7\u00e3o est\u00e1 dispon\u00edvel para o MemberPress Growth","canonical_url":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#article","name":"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress","headline":"Two-Factor Authentication With MemberPress And WP 2FA Plugin","author":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"publisher":{"@id":"https:\/\/memberpress.com\/pt\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2024\/02\/file-k0sI9OXHtX-1.png","@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#articleImage","width":2541,"height":1328},"datePublished":"2024-02-13T12:06:34-05:00","dateModified":"2025-10-27T08:16:52-04:00","inLanguage":"pt-BR","mainEntityOfPage":{"@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#webpage"},"isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#webpage"},"articleSection":"Third-Party"},{"@type":"BreadcrumbList","@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt#listItem","position":1,"name":"Home","item":"https:\/\/memberpress.com\/pt","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/add-ons\/#listItem","name":"Add-ons"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/add-ons\/#listItem","position":2,"name":"Add-ons","item":"https:\/\/memberpress.com\/pt\/doc-categories\/add-ons\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/third-party\/#listItem","name":"Third-Party"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/third-party\/#listItem","position":3,"name":"Third-Party","item":"https:\/\/memberpress.com\/pt\/doc-categories\/third-party\/","nextItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#listItem","name":"Two-Factor Authentication With MemberPress And WP 2FA Plugin"},"previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/add-ons\/#listItem","name":"Add-ons"}},{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#listItem","position":4,"name":"Two-Factor Authentication With MemberPress And WP 2FA Plugin","previousItem":{"@type":"ListItem","@id":"https:\/\/memberpress.com\/pt\/doc-categories\/third-party\/#listItem","name":"Third-Party"}}]},{"@type":"Organization","@id":"https:\/\/memberpress.com\/pt\/#organization","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","url":"https:\/\/memberpress.com\/pt\/","logo":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#organizationLogo","width":1650,"height":1275,"caption":"memberpress logo icon"},"image":{"@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/memberpress\/","https:\/\/www.pinterest.com\/memberpressplugin\/","https:\/\/www.youtube.com\/c\/MemberPressPlugin","https:\/\/www.linkedin.com\/company\/memberpress\/"]},{"@type":"Person","@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author","url":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/","name":"Nikola M","image":{"@type":"ImageObject","url":"https:\/\/memberpress.com\/wp-content\/litespeed\/avatar\/1edf820c48f9c430f380efe81887b154.jpg?ver=1776350726"}},{"@type":"WebPage","@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#webpage","url":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/","name":"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress","description":"WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. Note: This integration is available to MemberPress Growth","inLanguage":"pt-BR","isPartOf":{"@id":"https:\/\/memberpress.com\/pt\/#website"},"breadcrumb":{"@id":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/#breadcrumblist"},"author":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"creator":{"@id":"https:\/\/memberpress.com\/pt\/blog\/author\/nikolacaseproof-com\/#author"},"datePublished":"2024-02-13T12:06:34-05:00","dateModified":"2025-10-27T08:16:52-04:00"},{"@type":"WebSite","@id":"https:\/\/memberpress.com\/pt\/#website","url":"https:\/\/memberpress.com\/pt\/","name":"MemberPress","description":"The All-In-One WordPress Membership Plugin","inLanguage":"pt-BR","publisher":{"@id":"https:\/\/memberpress.com\/pt\/#organization"}}]},"og:locale":"pt_BR","og:site_name":"MemberPress","og:type":"article","og:title":"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress","og:description":"WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. Note: This integration is available to MemberPress Growth","og:url":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/","og:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:secure_url":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg","og:image:width":1650,"og:image:height":1275,"article:published_time":"2024-02-13T17:06:34+00:00","article:modified_time":"2025-10-27T12:16:52+00:00","article:publisher":"https:\/\/www.facebook.com\/memberpress\/","twitter:card":"summary_large_image","twitter:site":"@memberpress","twitter:title":"Two-Factor Authentication With MemberPress And WP 2FA Plugin | MemberPress","twitter:description":"WordPress website security is paramount, especially when operating a membership site. Ensuring the utmost protection and preventing fake registrations is a top priority for keeping the integrity of your platform. This documentation will explain how to add Two-Factor Authentication (2FA) to MemberPress using the WP 2FA plugin. Note: This integration is available to MemberPress Growth","twitter:image":"https:\/\/memberpress.com\/wp-content\/uploads\/2022\/10\/mp-icon-RGB_Icon-01.jpg"},"aioseo_meta_data":{"post_id":"63214","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"seo_analyzer_scan_date":"2025-10-27 12:24:32","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":"0","open_ai":null,"ai":{"faqs":[],"keyPoints":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2024-02-13 17:06:34","updated":"2026-03-03 14:52:30"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\" title=\"Home\">Home<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\/doc-categories\/add-ons\/\" title=\"Add-ons\">Add-ons<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t<a href=\"https:\/\/memberpress.com\/pt\/doc-categories\/third-party\/\" title=\"Third-Party\">Third-Party<\/a>\n<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\tTwo-Factor Authentication With MemberPress And WP 2FA Plugin\n<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/memberpress.com\/pt"},{"label":"Add-ons","link":"https:\/\/memberpress.com\/pt\/doc-categories\/add-ons\/"},{"label":"Third-Party","link":"https:\/\/memberpress.com\/pt\/doc-categories\/third-party\/"},{"label":"Two-Factor Authentication With MemberPress And WP 2FA Plugin","link":"https:\/\/memberpress.com\/pt\/docs\/memberpress-two-factor-authentication-with-wp-2fa\/"}],"_links":{"self":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/63214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/users\/62252"}],"replies":[{"embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/comments?post=63214"}],"version-history":[{"count":4,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/63214\/revisions"}],"predecessor-version":[{"id":75625,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb\/63214\/revisions\/75625"}],"wp:attachment":[{"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/media?parent=63214"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb-category?post=63214"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/memberpress.com\/pt\/wp-json\/wp\/v2\/ht-kb-tag?post=63214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}