Download the PHP package fiko/magento2-customer-two-factor-auth without Composer

On this page you can find all versions of the php package fiko/magento2-customer-two-factor-auth. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package magento2-customer-two-factor-auth

Magento 2 Two Factor Auth

Magento 2 Two Factor Auth

It's a magento 2 module to enable two factor authentication for customer to secure their login step.

How to install?

Via Composer

If you try to install via composer, just require your project to the module by running this command :

Manually

  1. Download this repo
  2. Create a Directory app/code/Fiko/CustomerTwoFactorAuth
  3. Copy downloaded repo to this directory

Once you download it (both composer or manually), just run this commands to apply this module to your project :

How to use?

Customer Guide

1. Enable Two Factor Authentication

  1. Login with customer account.
  2. Go to my account.
  3. Go to Account Security on sidebar.
  4. Enable Login Security.
  5. Scan the QR Code.
  6. Confirm the code.
  7. Try to logout and login back again.

2. Disable Two Factor Authentication

  1. Login with customer account.
  2. Validate the OTP.
  3. Go to my account.
  4. Go to Account Security on sidebar.
  5. Disable Login Security.
  6. Input current password.
  7. Try to logout and login back again.

Admin Guide

1. Generate Secret Key

  1. Login onto adminhtml.
  2. Customers > All Customers.
  3. Edit one of the customer.
  4. Click Generate 2FA Secret Key.
  5. Go to Account Information tab.
  6. See field of 2FA Secret Key.

2. Enable Two Factor Authentication

  1. Login onto adminhtml.
  2. Customers > All Customers.
  3. Edit one of the customer.
  4. Go to Account Information tab.
  5. Check Enable 2FA field (make sure the 2FA Secret Key is not empty.
  6. Save the secret key and setup it on your authenticator app.
  7. Save and try login.

3. Disable Two Factor Authentication

  1. Login onto adminhtml.
  2. Customers > All Customers.
  3. Edit one of the customer.
  4. Go to Account Information tab.
  5. Check Disable 2FA field.
  6. Save and try login.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT © 2022


All versions of magento2-customer-two-factor-auth with dependencies

PHP Build Version
Package Version
Requires magento/framework Version *
magento/module-customer Version *
spomky-labs/otphp Version ^10.0
christian-riesen/base32 Version ^1.3
endroid/qr-code Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package fiko/magento2-customer-two-factor-auth contains the following files

Loading the files please wait ....