{"id":13518528,"url":"https://github.com/elgentos/frontend2fa","last_synced_at":"2026-02-09T15:17:34.754Z","repository":{"id":46023404,"uuid":"174145550","full_name":"elgentos/frontend2fa","owner":"elgentos","description":"Magento 2 module for 2FA on the frontend","archived":false,"fork":false,"pushed_at":"2025-06-16T09:38:17.000Z","size":32,"stargazers_count":17,"open_issues_count":3,"forks_count":16,"subscribers_count":18,"default_branch":"master","last_synced_at":"2025-06-16T10:01:28.109Z","etag":null,"topics":["2fa","2fa-security","magento2","magento2-extension","magento2-extension-free","magento2-module"],"latest_commit_sha":null,"homepage":null,"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/elgentos.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}},"created_at":"2019-03-06T12:57:10.000Z","updated_at":"2025-06-16T09:37:58.000Z","dependencies_parsed_at":"2024-01-19T02:50:04.640Z","dependency_job_id":"227fe8d7-3ab5-4d7e-96a2-fbc1bd4e00b6","html_url":"https://github.com/elgentos/frontend2fa","commit_stats":{"total_commits":22,"total_committers":6,"mean_commits":"3.6666666666666665","dds":"0.31818181818181823","last_synced_commit":"e7049c4fb74c6185e52a802ff512ce53851d8786"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/elgentos/frontend2fa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgentos%2Ffrontend2fa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgentos%2Ffrontend2fa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgentos%2Ffrontend2fa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgentos%2Ffrontend2fa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elgentos","download_url":"https://codeload.github.com/elgentos/frontend2fa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elgentos%2Ffrontend2fa/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264375611,"owners_count":23598414,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","magento2","magento2-extension","magento2-extension-free","magento2-module"],"created_at":"2024-08-01T05:01:45.876Z","updated_at":"2026-02-09T15:17:34.749Z","avatar_url":"https://github.com/elgentos.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Elgentos_Frontend2FA\n\nThis extension is based on [Neyamtux_Authenticator](https://github.com/juashyam/2-Factor-Authentication/), which offers 2FA for the backend.\n\n## Features\n- Ability to force frontend 2FA for specific customer groups;\n- 2FA is enforced for chosen customer groups meaning the customer has to either setup or authenticate before continuing after logging in;\n- All customers in any group can optionally set their own 2FA;\n- Open the customer in the backend to be able to reset the 2FA secret;\n- Dutch translation files;\n- Hyva theme support with Tailwind CSS templates.\n\n## Installation\n\n```\ncomposer require elgentos/frontend2fa\nphp bin/magento module:enable Elgentos_Frontend2FA\nphp bin/magento module:enable Neyamtux_Authenticator\nphp bin/magento setup:upgrade\n```\n\n## Hyva Theme Support\n\nThis module includes Hyva-compatible templates that use Tailwind CSS classes. The Hyva templates are automatically loaded when a Hyva theme is active and provide the same functionality with Hyva's styling approach.\n\nThe following Hyva templates are included:\n- `view/frontend/templates/hyva/setup.phtml` - Two-Factor Authentication setup page\n- `view/frontend/templates/hyva/authenticate.phtml` - Two-Factor Authentication login page\n\nThe templates are responsive and use Tailwind utility classes for styling.\n\n## Integration with other authentication systems\n\nTo bypass the 2FA requirement for a specific logged in user, for example if you are using a Single Sign-On system for certain users,\nset this value in their customer session:\n\n\n```\n$customerSession-\u003eset2faSuccessful(true);\n```\n\n## Screenshots\n\nSetup page (in My Account)\n\n![image](https://user-images.githubusercontent.com/431360/53883116-69cdd280-4018-11e9-89a2-c1a471c51d64.png)\n\n2FA authentication after logging in when setup is done\n\n![image](https://user-images.githubusercontent.com/431360/53883181-98e44400-4018-11e9-8bc0-d98676e3527a.png)\n\nConfiguration in backend\n\n![image](https://user-images.githubusercontent.com/431360/53885104-3b9ec180-401d-11e9-98bc-ec1a2df3fa6c.png)\n\n2FA reset button in backend\n\n![image](https://user-images.githubusercontent.com/431360/53883268-ce892d00-4018-11e9-84f6-aa1c0fc2e34a.png)\n\n## License\n\nThis project is licensed under the MIT License\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgentos%2Ffrontend2fa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felgentos%2Ffrontend2fa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felgentos%2Ffrontend2fa/lists"}