Dear EXPERTS...!!
I am facing some troubbles with my MAGENTO 2.4 Two Factor Authentication because all time is showing ERROR CODE... i have sync time in my GOOGLE AUTH APP but still the INCONVENIENCE.... the idea is not to disable the 2FA...
thanks in advance!
is it resolved? I was facing same error too. I don't know the root cause but it is working for fresh user. it is still not working for old user which I was using before installing 2 factor auth
Found the issue after 2 hours. It is due to my laptop on which Magento is install, was 2 min ahead of actual time. that is why google auth app was not able to authenticate.
"It is due to my laptop on which Magento is install, was 2 min ahead of actual time."
How do you find the "actual" time? Do you mean official time as in: https://www.worldtimebuddy.com/ ?
Have you tried disabling 2FA temporarily, then turning it back on? Simple possible fix, I know, but worth checking. Another thought is whether you've done a composer update recently?