Magento 2 Experts — Hyvä Theme, Tailwind CSS & SEO from a Single Source ›

Magento 2 Customer 2FA with App and Backup Codes

Magento 2 Extension Hyvä Ready Magento 2.4.x

SKU: TWOFACTORCUSTOMER1

  • one-time code by authenticator app or email
  • backup codes for emergencies, reset by support
  • mandatory or optional per customer group
  • guests and checkout stay untouched
Auf Lager
€149.00

Einmaliger Kauf · inkl. 12 Monate Updates · zzgl. MwSt.

No download, but personal setup

No download, but personal setup. This product is not a downloadable software package for self-installation. With your order, you commission Mironsoft to individually set up this module in your shop. We will get in touch with you within 2 business days — we'll sort out the details and payment together then.

This offer is aimed at business owners and companies running a Magento 2 shop.

6 Features

Magento 2 Customer 2FA: two-factor protection for your shoppers in the storefront

Magento ships two-factor authentication for administrators only. The Mironsoft Magento 2 Customer 2FA additionally protects your customers’ accounts in the storefront: after the password, the customer confirms the login with a code from an authenticator app or by email. Backup codes secure access if a device is lost, and you decide for which customer groups 2FA is mandatory. The Magento 2 Customer 2FA works with Alpine.js and needs no additional library.

Authenticator app (TOTP)

Standardised one-time codes generated by any common authenticator app.

Code by email

Alternative for customers without an app: a short-lived code sent to the stored address.

Backup codes

Single-use emergency codes the customer saves or prints during setup.

Mandatory per customer group

2FA optional or mandatory, separated by customer group, for example for B2B.

Trusted device

Optionally the browser remembers the login for a defined number of days.

Checkout untouched

Guest orders stay unaffected; only the account login is protected.

Why 2FA for customers

Why a Magento 2 Customer 2FA makes sense

Customer accounts contain addresses, order history, saved carts and, depending on the shop, price lists or credit limits. Stolen credentials from other services are tried automatically. A strong password alone does not help if it was reused. Merchants therefore look for a Magento 2 Customer 2FA that extends protection by a second factor.

In B2B especially, a hijacked account is expensive: orders on account, delivery addresses and prices are open to the attacker. With a second factor the password alone is worthless. The Magento 2 Customer 2FA can be offered voluntarily first and made mandatory for sensitive groups later.

01Setup

Magento 2 Customer 2FA: setup in the customer account

In the account security area the customer activates two-factor login on their own. They scan a QR code with their authenticator app or choose the mail code, confirm with a first code and receive their backup codes right afterwards. The interface is built with Alpine.js and adapts to the Hyvä theme. Resetting and setting up again is possible in the account at any time.

  • QR code and manual key for the app
  • Mail code as an alternative without an extra app
  • Backup codes right after activation
My Account › Security › Two-factor
Method
Authenticator app (example)
Status
active
Backup codes8 remaining (example value)
QR code · mail code · set up again
Storefront · Login
Email and password
confirmed
Enter code
6 digits (example)
Remember device30 days (example value)
02Login

Ask for the second factor at login

After email and password, the field for the code appears. Wrong entries are counted, and after a configurable number of failed attempts the login is briefly locked. Mail codes are valid for only a few minutes and can be used once. Anyone who marks a device as trusted is not asked again there for the configured number of days.

  • Limit failed attempts, short lock afterwards
  • Mail code with expiry and single use
  • Optional trusted device in days
03Mandatory

Make Magento 2 Customer 2FA mandatory per customer group

In the admin you set per customer group whether 2FA is off, optional or mandatory. When mandatory, the customer is guided through setup at the next login and reaches the account only afterwards. For a transition period you can set a deadline in days. That way wholesale customers can be required to use it while occasional shoppers keep the choice.

  • Off, optional or mandatory per customer group
  • Transition period in days is adjustable
  • Guided setup at the next login
Admin › Configuration › Customer 2FA
Group Wholesalemandatory
Group Generaloptional
Transition period
14 days (example value)
Admin › Customers › Two-factor
Account A · activeapp (sample data)
Account B · activemail code (sample data)
Reset · view log
04Support

Keep device changes and support under control

If a customer loses their phone and backup codes, your support team can reset two-factor login in the admin. The action is logged with admin user and time, and the customer receives a notice mail. The overview shows which accounts use 2FA and how many backup codes remain. Secrets are stored encrypted.

  • Reset in the admin with log entry
  • Notice mail to the customer after a reset
  • Encrypted storage of secrets
Use cases

Where the Magento 2 Customer 2FA protects in everyday shop life

Typical situations in which a second factor makes sense.

B2B accounts with price lists

Business customers with invoice purchases and individual prices are additionally secured by mandatory 2FA.

Shops with balances

Where accounts hold credit, loyalty points or vouchers, the second factor pays off especially.

Recurring orders

Accounts with saved delivery addresses and payment methods are attractive to attackers and benefit from the protection.

Privacy-minded customers

Security-conscious customers appreciate that your shop voluntarily offers more protection.

Comparison

Magento 2 Customer 2FA: without and with the module

The difference to a plain password login.

TopicWithout moduleWith Mironsoft Customer Two Factor Auth
Account protectionPassword onlyPassword plus one-time code
MethodsNoneAuthenticator app or mail code
Emergency accessReset the password by emailBackup codes and reset by support
Rule per groupNot possibleOff, optional or mandatory
TraceabilityNoneLog for reset and activation
Setup

How we set up Magento 2 Customer 2FA for you

The process after you place your order.

1

Alignment

You decide which methods are allowed and for which customer groups 2FA is mandatory or optional.

2

Installation

We install the module, set up the Magento 2 Customer 2FA for your store views and add the security area to the Hyvä account menu.

3

Mail templates

We adapt the templates for the mail code and reset notice to your shop, per language.

4

Testing

We check setup, login, failed attempts, backup codes, device changes and the requirement for a test group.

5

Handover

Your support team receives an introduction to resetting and the admin overview.

Scope

Scope compared with admin 2FA and login modules

The built-in two-factor authentication of Magento applies to administrators only. The Magento 2 Customer 2FA acts in the storefront, on your customers’ accounts. It replaces neither registration nor a social login solution but adds a second factor to the existing login.

The module can be combined with other account modules from Mironsoft. The interface needs no additional library.

05How the purchase works

No download, but personal setup

Customer Two Factor Auth is not listed here as a ready-made download file to install yourself. The purchase is an order for a service: we contact you after the purchase, install the module in your shop and agree on methods, mandatory groups and mail templates together with you.

Important to know

Your purchase does not include a download link. We will get in touch with you within 2 business days — we'll sort out the details and payment together then. This offer is aimed at business owners and companies running a Magento 2 shop.

FAQ

Frequently asked questions

Everything important about methods, backup codes, enforcement and how the purchase works.

How can I enable two-factor authentication for customers in Magento 2?
With the Magento 2 Customer 2FA you switch the feature on in the admin and choose methods and customer groups. Customers then set up 2FA themselves in the account security area.
How can I make 2FA mandatory for customers in Magento 2?
Per customer group you choose off, optional or mandatory. When mandatory, the customer is guided through setup at the next login.
Which methods does the Magento 2 Customer 2FA support?
One-time codes from an authenticator app (TOTP) and codes by email. You can allow each method separately.
What happens if the customer loses their phone?
They use a backup code. If none remain, your support team resets the login in the admin and the customer receives a notice mail.
How long is a code by email valid?
Only a few minutes and only once. The duration is adjustable.
How many failed attempts are allowed?
You set the number. Afterwards the login is locked for a short time.
Does 2FA also affect guest orders?
No. The Magento 2 Customer 2FA protects only the account login. Guest checkout remains unchanged.
Does the Magento 2 Customer 2FA work with Hyvä?
Yes, the interface is built with Alpine.js and needs neither jQuery nor Knockout nor an additional library.
Does this replace the Magento admin 2FA?
No. Admin 2FA protects your backend users, this module protects customer accounts in the storefront.
Can I download and install the module myself?
No. This offer is not a download product. After the purchase we install and configure the module personally in your shop.
Write Your Own Review
You're reviewing: Magento 2 Customer 2FA – Mironsoft
loader
Loading...

You submitted your review for moderation.

This form is protected by reCAPTCHA - the Google Privacy Policy and Terms of Service apply.

Magento 2 Customer 2FA – Mironsoft

Magento 2 Customer 2FA – Mironsoft

€149.00