Download the PHP package hryvinskyi/magento2-two-factor-auth-bypass without Composer
On this page you can find all versions of the php package hryvinskyi/magento2-two-factor-auth-bypass. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hryvinskyi/magento2-two-factor-auth-bypass
More information about hryvinskyi/magento2-two-factor-auth-bypass
Files in hryvinskyi/magento2-two-factor-auth-bypass
Package magento2-two-factor-auth-bypass
Short Description Module for bypassing Magento 2 two-factor authentication via environment configuration
License MIT
Informations about the package magento2-two-factor-auth-bypass
Bypass Two Factor (2FA) Auth for Magento 2 (Adobe Commerce)
This Magento 2 module developed for bypassing two-factor authentication on staging or development environments. It allows you to disable 2FA for admin panel access and API token generation via environment configuration (app/etc/env.php) or console commands.
Installation
Manual Installation
- Copy the module to
app/code/Hryvinskyi/TwoFactorAuthBypass/ - Run:
bin/magento module:enable Hryvinskyi_TwoFactorAuthBypass - Run:
bin/magento setup:upgrade - Run:
bin/magento setup:di:compile
Composer Installation
Configuration
Manual Configuration
Add the following configuration to your app/etc/env.php:
Console Commands
Alternatively, use the provided console commands:
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
enabled |
boolean | false |
Enable bypass for admin panel access |
api_enabled |
boolean | false |
Enable bypass for API token generation |
Requirements
- PHP 8.1+
- Magento 2.4.6+
- Magento_TwoFactorAuth module
Support
If you encounter any issues or have questions, please contact the author or open an issue on GitHub.
License
This module is licensed under the MIT License - see the LICENSE file for details.
Author
Volodymyr Hryvinskyi Email: [email protected] GitHub: https://github.com/hryvinskyi