The Biometric WebAuthn Module for Magento 2 allows the admin to enable Biometric web authentication for the customer’s login process. Now by using this module the customers just need to use the fingerprint scanner or face recognition of their smartphone mobile to log in to the website.
The customer first needs to register on WebAuthn by using Login Options under My Accounts. After that whenever the customer wants to login then they can simply click on the “Use WebAuthn” button to use the fingerprint scanner to log in to the website.
The Biometric WebAuthn module helps customer login without entering a user id or a password. By clicking on the Use Webauthn the system tries to identify the user authenticity and helps proceed to log in.
The customers can use various methods such as fingerprint scan or face scan. This is a very innovative module that excludes the customers from entering a password every time they wish to log in.
Watch the below Video & understand How Biometric WebAuthn Works?
Video tutorial for the Face Authenticator on iOS Device
Features – Biometric WebAuthn Module
- Enable the customers to log in to the website using fingerprint scan or face recognition.
- If the admin enables the User Specific WebAuthn it will work for only one customer in a browser. Else, if disabled then an email will be required to log in.
- Saves time and increases security for the personal data of customers.
- Users do not require their login credentials to sign in to the website.
Installation – Biometric WebAuthn Module
Firstly, customers will get a zip folder and they have to extract the contents of this zip folder on their system. Secondly, the extracted folder has an src folder, inside the src folder you have the app folder.
Further, the admin needs to transfer this app folder into the Magento2 root directory on the server as shown below.
After the successful installation you have to run these commands in the Magento2 root directory:
First command –
php bin/magento setup:upgrade
Second Command –
php bin/magento setup:di:compile
Third Command –
php bin/magento setup:static-content:deploy
Fourth Command –
php bin/magento indexer:reindex
Right after that flush the cache from the Magento admin panel by navigating through->System->Cache management as shown below.
Module Configuration – Biometric WebAuthn Module
After the successful installation of the module the admin can go to the Stores > Configuration > Webauthn Configuration.
User Specific WebAuthn: The admin can enable/disable the user-specific Webauthn functionality as per requirements.
Note: If set as ‘Yes’ then it will work for only one customer in one browser. If Set to ‘No’ then an email will be required for the login.
Front End – Workflow
Right after, landing at the home page.
The customer of the store can simply log in by following the path as shown in the images below.
Go to the Account in the sidebar menu click Sign In.
Enter the log in Email and Password and press Sign In.
User Biometrics Registration
Now, after logging in the customer needs to go to the Account section.
Post which navigates to the My Account > Login Options.
Simply, click Use WebAuthn.
Further, the customer needs to click on the Get Started button.
Choose How to use your Security Key
The customer needs to save his/her biometric data for this he/she can click Use this device with the screen lock.
Now the user will be requested to verify his/her identity, to confirm with the help of biometrics here verify fingerprint as shown below.
Once, the verification has completed a message that the biometric WebAuth registration successful message is displayed on the user’s screen.
Use WebAuth to Log In
Now, every time the customer wants to login he/she can simply click the Use WebAuthn button.
Verify-in one step by a Fingerprint or Face unlock as registered and login instantly.
Current Product Version - 4.0.0
Supported Framework Version - Magento 2.0.x, 2.1.x, 2.2.x,2.3.x, 2.4.x