Magento 2.4.0 2 factor authentication issue

Yeah, this is totally unclear from Adobe.
One solution is to, as you said, install a smtp server. I did however solve this in two different ways which both worked for me.

  • Solution 1 Install Mark Shust module for disabling 2fa (really not recommended, but works).
  • Solution 2 Install a smtp module, i used Mageplazas Smtp-module and then configured it through bin/magento to use mailtrap
  • Solution 3 Another way would be to follow David Alger’s guide here docs.warden.dev/environments/initializing.html search for 2fa on that page.
  • Does require python and some other tools but pretty basic.
  • Solution 4 =D Just do “bin/magento module:disable Magento_TwoFactorAuth”, but like said before, not recommended, especially not in production.
1 Like