- Greg Croasdill, Human Element, Inc http://www.human-element.com
- Gregg Milligan, Human Element, Inc http://www.human-element.com
- Aric Watson, Nexcess.net https://www.nexcess.net/
Sentry Two-Factor Authentication will protect your Magento store and customer data by adding an extra check to authenticate your Admin users before allowing them access. Developed as a partnership between the Human Element Magento Development team and Nexcess Hosting, Sentry Two-Factor Authentication for Magento is easy to setup and admin users can quickly login.
The following Two Factor Authentication providers are supported at this time.
For more information on Duo security's API, please see -
For more information on Google Authenticator, please see -
- https://github.com/google/google-authenticator/wiki
- https://support.google.com/accounts/answer/180744?hl=en&ref_topic=1099588
If you have an issue, please read the FAQ then if you still need help, open a bug report in GitHub's issue tracker.
Please do not use Magento Connect's Reviews or (especially) the Q&A for support. There isn't a way for me to reply to reviews and the Q&A moderation is very slow.
If you have a fix or feature for this module, submit a pull request through GitHub to the devel branch. The master branch is only for stable releases. Please make sure the new code follows the same style and conventions as already written code.
Some code based on previous work by Jonathan Day [email protected]
Some code based on previous work by Michael Kliewe/PHPGangsta
- Installing this module will update the admin_user table in the Magento database to add a twofactor_google_secret field for storing the local GA key. It is safe to remove this field once the module is removed.
- If you get locked out of admin because of a settings issue, loss of your provider account or other software related issue, you can temporarily disable the second factor authentication -
- Place a file named tfaoff.flag in the root directory of your Magento installation.
- Login to Magento's Admin area without the second factor.
- Update settings or disable Sentry
- Remove the tfaoff.flag file to re-enable two factor authentication.
-
Google authenticator code verification returns Invalid Code response.
Sometimes even after entering the current code from the google authenticator screen, you get an invalid code message from the module. If that is the case make sure the time stamp on the server is up-to-date. The authentication mechanism uses a time slice logic to verify the code. If the server time is not in sync with the ntp servers the invalid code response is expected.
If you find the server is not in sync, perform the following actions
- Install ntpdate
sudo yum install ntpdate
- Run
sudo ntpdate pool.ntp.org
- Install ntpdate