Overview
Back to topThe Force Login module for Magento® 2 allows you to restrict which pages a visitor is able to see without being logged in. Visitors get redirected to the login page when trying to access a page that is not marked as being visitable. The list of visitable pages can be managed by the merchant via the Magento® 2 backend by defining url rules as well as the store. Any incoming request that does not match an entry of the list will automatically redirect the user to the login page.
The module is especially useful for merchants serving only a specific group of users or partners when there is a need to ensure that only those users are able to browse the website or the product catalog.
Features:
- Force your guest visitors to log in first (or register), before allowing them to visit your pages and catalog
- Administration: Manage the whitelist rules by the GUI in the administration area
- ACL: Restrict the administration of whitelist rules to certain backend user groups
- Whitelisting: Define url rules (static + regular expressions) as pattern to define which pages guest visitors can visit without logging in first
- Multistore-Support: Define if whitelist rules either apply globally or for specific stores
Technical Specifications
Back to topSeller profile
Seller contact
Current Version
5.0.1
Adobe Commerce platform compatibility
Open Source (CE): 2.4 (current), 2.0 (obsolete), 2.1 (obsolete), 2.2 (obsolete), 2.3 (obsolete)
Commerce on prem (EE): 2.4 (current)
Commerce on Cloud (ECE): 2.4 (current)
Type
Stable Build
Updated
06 July, 2022
Categories
Extensions, Content & Customizations, Personalization & Experience Management
Quality Report
Back to topAll tests were conducted on the latest versions of Adobe Commerce that existed for the compatible release lines at the moment of the extension submission. Latest versions of all other software were used, as applicable.
Release Notes
Back to top5.0.1:
- Compatible with Open Source (CE) : 2.4
- Compatible with Commerce on prem (EE) : 2.4
- Compatible with Commerce on Cloud (ECE) : 2.4
- Stability: Stable Build
-
Description:
- Compatibility with Magento 2.4.4 (Module supports versions 2.4.0 - 2.4.4)
- Allows Magento admin to log in as a customer when the module is active
- Fix bug for the wrong redirect on customer login and account confirmation
- Allow the store column to be sorted in the grid view
4.1.0:
- Compatible with Open Source (CE) : 2.3 2.4
- Stability: Stable Build
-
Description:
- Made module work with Magento 2.4
3.0.2:
- Compatible with Open Source (CE) : 2.1 2.2
- Stability: Stable Build
-
Description:
- Fixed compatibility with Magento 2.1
3.0.1:
- Compatible with Open Source (CE) : 2.1 2.2
- Stability: Stable Build
-
Description:
The module now supports error pages (e.g. page url does not exist), now showing the error page instead of redirecting to the login page
Previously, observers were used to lookup if a visitor needed to be forced to login. Now, the module uses the core routing chain with a custom routing component. This is a break with backwards compatibility, if you had plugins related to the observers.
Some fixes to increase the support of Magento 2.2
3.0.0:
- Compatible with Open Source (CE) : 2.1 2.2
- Stability: Stable Build
-
Description:
- Fixed compatibility with Magento 2.1
2.3.0:
- Compatible with Open Source (CE) : 2.1 2.2
- Stability: Stable Build
-
Description:
The module now supports error pages (e.g. page url does not exist), now showing the error page instead of redirecting to the login page
Previously, observers were used to lookup if a visitor needed to be forced to login. Now, the module uses the core routing chain with a custom routing component. This is a break with backwards compatibility, if you had plugins related to the observers.
Some fixes to increase the support of Magento 2.2
2.2.0:
- Compatible with Open Source (CE) : 2.2
- Stability: Stable Build
-
Description:
Made module compatible with Magento 2.2
2.1.0:
- Compatible with Open Source (CE) : 2.0 2.1
- Stability: Stable Build
-
Description:
Changelog:
- Fixed invalid position of tag resource in system.xml
- Move backend configuration to customer > customer configuration section
- Provide backwards compatibility by setting strategy for existing rules to regex matcher instead of static matcher
- Static matcher now canonicalizes urls and rules to omit differences of trailing slashes
- Provide the needed changes to make sure the module will work with Magento 2.1
2.0.0:
- Compatible with Open Source (CE) : 2.1
- Stability: Stable Build
-
Description:
The highlights of this release are: More configuration possibilities, extension of default rulesets, reset of default rulesets is now possible. improvment of session and cache handling as well as some minor bugfixes.
1.3.1:
- Compatible with Open Source (CE) : 2.0 2.1
- Stability: Stable Build
-
Description:
Fixed some installation issues.
1.2.3:
- Compatible with Open Source (CE) : 2.0 2.1
- Stability: Stable Build
-
Description:
Changelog
All notable changes to this project will be documented in this file, in reverse chronological order by release.
1.2.0
- Magento 2.1 compatibility added
Support
Back to topThe best place to start if you need help with a specific extension is to contact the developer. All Adobe Commerce developers have both a contact email and a support email listed.
Contact Vendor