MFA not working properly in local

Hello!
Did you ever find a solution for this? I am in the same situation. Still getting same error.