After installing Magento 2 you might encounter this screen, that says You need to configure Two-Factor Authorization in order to proceed to your store’s admin area.

One solution to this message is setup the two factor authentication in Magento 2. However, this is not ideal for the local development or any testing site. So you can simply disable this module to avoid the inconvenience in your local development.

You can the below two commands to disable the modules

bin/magento module:disable Magento_AdminAdobeImsTwoFactorAuth
bin/magento module:disable Magento_TwoFactorAuth

In recent Magento 2 versions you need to run the first command as the first is depend on the second module.

Please share with your peers if it helps you!

Note: Don’t use this trick in the production server, as it’s security feature in Magento 2.

Editorial Staff

Editorial Staff at Tutsplanet is a dedicated team to write various tutorials about subjects like Programming, Technology and Operating Systems.

Credit goes to the respective owner!

Leave a Reply

Your email address will not be published. Required fields are marked *