{"id":31698925,"url":"https://github.com/hryvinskyi/magento2-two-factor-auth-bypass","last_synced_at":"2026-01-20T16:30:34.310Z","repository":{"id":314337773,"uuid":"1055139490","full_name":"hryvinskyi/magento2-two-factor-auth-bypass","owner":"hryvinskyi","description":"Module for bypassing Magento 2 two-factor authentication via environment configuration","archived":false,"fork":false,"pushed_at":"2025-09-11T20:35:56.000Z","size":27,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-10T01:14:12.365Z","etag":null,"topics":["2fa","2fa-security","2factor","development","magento"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hryvinskyi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-11T20:34:50.000Z","updated_at":"2025-10-24T15:17:04.000Z","dependencies_parsed_at":"2025-09-11T23:02:40.825Z","dependency_job_id":"5f341afe-af89-4050-a691-fc514c0c406a","html_url":"https://github.com/hryvinskyi/magento2-two-factor-auth-bypass","commit_stats":null,"previous_names":["hryvinskyi/magento2-two-factor-auth-bypass"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/hryvinskyi/magento2-two-factor-auth-bypass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hryvinskyi%2Fmagento2-two-factor-auth-bypass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hryvinskyi%2Fmagento2-two-factor-auth-bypass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hryvinskyi%2Fmagento2-two-factor-auth-bypass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hryvinskyi%2Fmagento2-two-factor-auth-bypass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hryvinskyi","download_url":"https://codeload.github.com/hryvinskyi/magento2-two-factor-auth-bypass/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hryvinskyi%2Fmagento2-two-factor-auth-bypass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607168,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["2fa","2fa-security","2factor","development","magento"],"created_at":"2025-10-08T19:11:56.481Z","updated_at":"2026-01-20T16:30:34.287Z","avatar_url":"https://github.com/hryvinskyi.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bypass Two Factor (2FA) Auth for Magento 2 (Adobe Commerce)\n\nThis Magento 2 module developed for bypassing two-factor authentication on staging or development environments.\nIt allows you to disable 2FA for admin panel access and API token generation via environment configuration (app/etc/env.php) or console commands.\n\n## Installation\n\n### Manual Installation\n1. Copy the module to `app/code/Hryvinskyi/TwoFactorAuthBypass/`\n2. Run: `bin/magento module:enable Hryvinskyi_TwoFactorAuthBypass`\n3. Run: `bin/magento setup:upgrade`\n4. Run: `bin/magento setup:di:compile`\n\n### Composer Installation\n```bash\ncomposer require hryvinskyi/magento2-two-factor-auth-bypass\nbin/magento module:enable Hryvinskyi_TwoFactorAuthBypass\nbin/magento setup:upgrade\nbin/magento setup:di:compile\n```\n\n## Configuration\n\n### Manual Configuration\nAdd the following configuration to your `app/etc/env.php`:\n\n```php\nreturn [\n    // ... other configuration\n    'two_factor_auth_bypass' =\u003e [\n        'enabled' =\u003e true,                // Bypass 2FA for admin access\n        'api_enabled' =\u003e true,           // Bypass 2FA for API token generation\n    ],\n];\n```\n\n### Console Commands\nAlternatively, use the provided console commands:\n\n```bash\n# Enable bypass for both admin and API (default)\nbin/magento hryvinskyi:2fa:bypass:enable\n\n# Enable bypass for admin access only\nbin/magento hryvinskyi:2fa:bypass:enable --admin\n\n# Enable bypass for API token generation only  \nbin/magento hryvinskyi:2fa:bypass:enable --api\n\n# Disable bypass for both admin and API (default)\nbin/magento hryvinskyi:2fa:bypass:disable\n\n# Disable bypass for admin access only\nbin/magento hryvinskyi:2fa:bypass:disable --admin\n\n# Disable bypass for API token generation only\nbin/magento hryvinskyi:2fa:bypass:disable --api\n\n# Check current bypass status\nbin/magento hryvinskyi:2fa:bypass:status\n```\n\n### Configuration Options\n\n| Option | Type | Default | Description |\n|--------|------|---------|-------------|\n| `enabled` | boolean | `false` | Enable bypass for admin panel access |\n| `api_enabled` | boolean | `false` | Enable bypass for API token generation |\n\n## Requirements\n\n- PHP 8.1+\n- Magento 2.4.6+\n- Magento_TwoFactorAuth module\n\n## Support\n\nIf you encounter any issues or have questions, please contact the author or open an issue on GitHub.\n\n## License\n\nThis module is licensed under the MIT License - see the LICENSE file for details.\n\n## Author\n\nVolodymyr Hryvinskyi\nEmail: volodymyr@hryvinskyi.com\nGitHub: https://github.com/hryvinskyi","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhryvinskyi%2Fmagento2-two-factor-auth-bypass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhryvinskyi%2Fmagento2-two-factor-auth-bypass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhryvinskyi%2Fmagento2-two-factor-auth-bypass/lists"}