When you install magento 2.4 you are forced to configure Two-Factor Authorization in order to login to your admin area.
Although this is a must wanted feature to improve your magento security, it can be a real pain when you are in the development stage of your website.
To disable this requirement run the following commands on the command line:
php bin/magento module:disable Magento_TwoFactorAuth php bin/magento cache:flush
Don’t forget to set this up before putting your website in production 🙂