60-day Money Back


Frequent Update


365-day Support

Required Login for Magento 2


Magento 2 Required Login / Customer Force Sign-in is the supportive login extension. This module allows the store owner to restrict access to specific pages and set information visibility to registered users only. This module supports online stores to manage users and protect store information better.

Total price:


This demo is hosted on Cloudways

Magento 2 Required Login for Magento 2.3.x, 2.4.x CE/EE/B2B/Cloud/ Adobe Commerce 2.3.x, 2.4.x

Most-Trusted Pick

  • Work perfectly together
  • Cost-effective
  • 60-day money back guarantee
  • FREE installation for all
Required Login



  • 60-day money back guarantee
  • FREE installation for all

Checkout now


In Magento 2 default, all information about your products and services, such as price, description, discounts, etc., will be visible in the public. This must be a headache for store owners, especially B2B merchants who want to protect their competitive strengths from rivals. What is the best solution in order to restrict access to registered users only on specific pages?


Easy to control customer’s access. To reach the whole/ a part of information on a site, visitors are allowed to log in. As a result, store owners can have the control of the access situation easily. To some extent, the site will be protected better from ill-intentioned and unknown access.

More customers’ information, more benefits. Required Login means that customers have to create accounts in a store. Therefore, the store owners easily collect customers’ data (e.g. email addresses). This facilitates very helpfully to the store’s promotion campaigns.

More safe for sensitive information. Such information as privacy policy, about us, price or even product details are sensitive and even unique to any business. Therefore, the allowance to access these info needs to be stricter. Therefore, required login is the solution in this case.

Restrict access to login visitors only

Mageplaza Required Login is the add-on tool which is applied to specific pages, and the visitors who would like to view the page’s information has to log in their accounts first.

The interface of login box is familiar and friendly to any users. Users are required to fill in their email address and password of their already-registered account. If the login is processed successfully, the page will become accessible.

Set login requirement to any pages

Required login allows store owners to select multiple pages without limitation to require signing in action. Force login can be applied with any types of pages.
With Default pages, Required Login can be applied to:

Product View Page
Category Page
Checkout Cart Page
Checkout Onepage
Catalog Search Page
Contact Page

Besides, all the CMS Pages such as Home page, Privacy Policy, Customer Service, About Us can easily selected from admin backend.

Especially, admins can set custom pages URL including specific strings which either require login or freely access.

Redirect customers to targeted pages

One noticeable feature of Required Login is redirecting function. After customers successfully log in their accounts, they will be redirected to a specific page. Admins can configure the destination URL with various options:

Use Customer configuration
Customer dashboard
Home page
Previous Page

This is useful feature which store owners can take advantages to lead customers to targeted pages for particular purposes such as making promotion or product introduction with the aim to encourage further purchases or for any purposes.

Allow/ Disallow visitors to create accounts

It is possible that store owners can turn off creating account function. This means that only users who already have accounts have the ability to access a page. If not, they have no choice except for leaving that page because creating account is disabled.

This feature is helpful in case a store owner would like to make sure only loyal or trustful account owners can have the visibility to specific information on the store site. For example, a special promotion page is accessible with the account owners only. New visitors at this case are not allowed to create accounts.

More Features
Check out more details of Required Login


Notice message

Set the message to notify customers when they visit a required login page.


Extension compatibility

Required Login is properly compatible with Social Login, OneStepCheckout, Age Verification, Two Factor Authentication

Choose your suitable edition


Crafted for a great webstore start $ 99 first year

  • 1-year extension updates
  • 1-year support
  • 60-day money-back guarantee
  • Read our policies
  • Supports for Magento 2 Community Edition

Enterprise/ Magento Cloud

Great for an enterprise solution $ 299 first year

  • Free updates within subscription time
  • Free support within subscription time
  • Read our policies
  • Supports for Magento 2 Enterprise Edition
  • Highest priority support

Full features list

Reviews (7)

05 May 2022

More than good

I'm looking for a tool to control visitors' logins and this extension can do more than good. The support is also on point, so extra stars for you.

Nikita -Verified Purchase
20 April 2022


One of the most helpful & friendly team of people I ever had experience with. I would rate them 5+ star for their support.

Madison -Verified Purchase
09 April 2021

Works exactly what I needed

this is a great B2B ext, my site is wholesale only, which means it will require customers to login in order to see my listings and pricing. This ext redirects all the traffic to the login page with warning message, perfect!

Ben -Verified Purchase
24 April 2020

great module!!!

I have installed this module (even more modules) for my store and it works great. It was so easy to install and simple to use. Thank you Mageplaza for this great module

wen -Verified Purchase
08 April 2019

Excellent module

I have installed this module for my store and it works great. It was so easy to install and simple to use. Thank you Mageplaza for this great module

Brittany H. Lamb -Verified Purchase
03 April 2019

Great module!!!

Highly recommended module for your shop. I can do everything from managing users to protecting store information. I couldn't ask for more. Thank you so much!

Mary D. Cline -Verified Purchase
03 April 2019

Fast support

I have a small problem with the installation process. So I have contacted the support team and then they helped me to install it in the blink of an eye. Thank you so much!

Maria H. Parsons -Verified Purchase

Leave a Review

How do you rate this product?

Your email address on Mageplaza's store

Plain text, no HTML tags.

All of the feature updates plan and status will be updated as soon as possible in our public Trello.

View Mageplaza Extension Roadmap 2023 ->

Don't see the features you are looking for?

Request feature

Want to do extension customization?

Custom request

Let us know your requirements

Release Notes

  • v4.0.4 (Magento v2.4.x)

    22 June 2023

    • Compatible with Magento v2.4.6
    • Fixed some minor bugs
  • v1.0.6 (Magento v2.3.x)

    26 February 2022

    • fixed Unit Test.
  • v4.0.3 (Magento v2.4.x)

    25 February 2022

    • fixed Unit Test.
  • v1.0.5 (Magento v2.3.x)

    22 August 2021


    • Compatible with Magento 2.3.7
    • Fix some minor bugs
  • v4.0.2 (Magento v2.4.x)

    22 August 2021


    • Fix some minor bugs
  • v4.0.1 (Magento v2.4.x)

    06 June 2021

    • Fix minor bugs
  • v4.0.0 (Magento v2.4.x)

    12 November 2020

    • Supported Magento v2.4
  • v1.0.4 (Magento v2.3.x)

    16 June 2020

    • Compatible with Mageplaza Customer Approval extension
  • v1.0.3 (Magento v2.3.x)

    09 March 2020

    • Fixed minor bugs
  • v1.0.2 (Magento v2.3.x)

    30 October 2019

    • New Feature: Redirect feature can choose to apply on all pages or only required login pages
  • v1.0.1 (Magento v2.3.x)

    18 July 2019

    Compatible with Magento 2.3

  • v1.0.0 (Magento v2.3.x)

    11 January 2019

    Initial Release

Required Login's Full Features List

Required Login for store admins


  • Select default pages to apply Required Login
  • Select CMS Page to apply Required Login
  • Include Custom Page with specific strings to require login
  • Exclude Custom Page with specific string to freely access
  • Select destination page after customers log in successfully


  • Enable/ Disable the extension
  • Enable/ Disable Create Account function
  • Input Required-Login Message

Required Login for customers

  • The customers use their accounts to log in to view specific pages
  • A new visitor will be required to sign up account which then is used to log in to view required-login pages
  • Creating account then log in easily via email address

Why choose Mageplaza Magento 2 Required Login

Mageplaza provides consistent and customer-centric extensions for your Magento 2 store.

We don't sell products for one time. We provide lifetime solutions which help our customers thrive with their businesses.

innovate exchange partner
mageplaza trustpilot
follow magento coding standard
8 years ecommerce

60-day Money Back

Extensive 60-day money-back period. You love it or get a full refund no questions asked.


Extensive Support Timeframe

Mageplaza provides support 16 hrs/day, 5.5 days/week to guarantee the seamless operation of our extensions on your store.


Install via Composer

Simple installation via composer helps you save time and eliminates technical issues during future updates.


Frequent Updates

Intensive update roadmaps ensure great performance, bug-free, highly compatible, and innovative extensions.