PHPackages                             sprinix/skip2fa-by-ip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. sprinix/skip2fa-by-ip

ActiveMagento2-module[Authentication &amp; Authorization](/categories/authentication)

sprinix/skip2fa-by-ip
=====================

Magento 2 module for skipping two-factor authentication (2FA) by IP address

1.0.2(2y ago)01651[1 PRs](https://github.com/sprinixtech/skip2fa-by-ip/pulls)PHPPHP ^7||^8

Since May 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sprinixtech/skip2fa-by-ip)[ Packagist](https://packagist.org/packages/sprinix/skip2fa-by-ip)[ RSS](/packages/sprinix-skip2fa-by-ip/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Sprinix\_Skip2FAByIP
====================

[](#sprinix_skip2fabyip)

Sprinix\_Skip2FAByIP is a Magento 2 module that allows skipping Two-Factor Authentication (2FA) based on IP address. This module provides a configuration option to specify a list of IP addresses that are exempted from the 2FA requirement, making it convenient for trusted IP addresses to bypass the additional authentication step.

Installation
------------

[](#installation)

1. Copy the contents of this repository to the `app/code/Sprinix/Skip2FAByIP` directory of your Magento 2 installation.
2. OR run command `composer require sprinix/skip2fa-by-ip` to install using composer
3. Run the following command from the Magento root directory:

```
bin/magento module:enable Sprinix_Skip2FAByIP
bin/magento setup:upgrade
bin/magento cache:clean

```

3. Log out and log back into the Magento Admin panel for the changes to take effect.

Configuration
-------------

[](#configuration)

1. In the Magento Admin panel, go to **Stores** &gt; **Configuration** &gt; **Security** &gt; **2FA**.
2. Enable the setting **Skip 2FA By IP**
3. Click **Save Config**.

Usage
-----

[](#usage)

Once the module is enabled and configured, any requests originating from the specified IP addresses will bypass the Two-Factor Authentication requirement. Please ensure that you only add trusted IP addresses to the allowed list.

*Command to allow IPs*

` bin/magento config:set twofactorauth/general/allowed_ips 127.0.0.1`

*Clean Magento cache*

` bin/magento cache:clean`

Compatibility
-------------

[](#compatibility)

This module is compatible with Magento 2.4.x versions.

This module supports proxy detection as well, you can also define your client IP HTTP header in the configuration as well.

This module respects headers from cloudflare.

Contribution
------------

[](#contribution)

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please feel free to open an issue or submit a pull request.

License
-------

[](#license)

This module is released under the [MIT License](https://opensource.org/licenses/MIT).

Author Information
------------------

[](#author-information)

Sprinix\_Skip2FAByIP module is developed and maintained by [Gulshan Kumar Maurya](https://github.com/gulshankumar).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~3 days

Total

3

Last Release

1079d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9b3ecbde0108e9dd52bc8aada60ee60accefcb90893ff8f7d77027177d2b0d10?d=identicon)[sprinix](/maintainers/sprinix)

---

Top Contributors

[![gulshankumar](https://avatars.githubusercontent.com/u/1710490?v=4)](https://github.com/gulshankumar "gulshankumar (6 commits)")

### Embed Badge

![Health badge](/badges/sprinix-skip2fa-by-ip/health.svg)

```
[![Health](https://phpackages.com/badges/sprinix-skip2fa-by-ip/health.svg)](https://phpackages.com/packages/sprinix-skip2fa-by-ip)
```

###  Alternatives

[markshust/magento2-module-disabletwofactorauth

The DisableTwoFactorAuth module provides the ability to disable two-factor authentication.

2282.7M6](/packages/markshust-magento2-module-disabletwofactorauth)[bitexpert/magento2-force-customer-login

The Force Login module for Magento2 redirects a storefront visitor to the Magento2 Frontend login page, if the visitor is not logged in. It is possible to configure the whitelisted urls to add custom definitions.

171409.9k](/packages/bitexpert-magento2-force-customer-login)[faonni/module-product-available

Extension allows the store owner to hide the product price and add to cart button from guests or certain customer groups.

3720.0k](/packages/faonni-module-product-available)[hryvinskyi/magento2-invisible-captcha

Magento 2 Google Invisible Captcha (Recaptcha) module

279.4k](/packages/hryvinskyi-magento2-invisible-captcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
