User are stuck in MFA without the ability to go back to login view

I’m switching many users on the same device trying to authenticate to the same dashboard with auth0.
When successfully logged in, and closed the dashboard tab, I tried to authenticate again but now I don’t remember which user I was working with, so I need to try every combination of the OTP to pass the MFA.

I saw this post: User stuck in MFA stage of login if they are unable to pass MFA - #12 by dan.woda

I can’t figure out how to do that, can you please give a full code of that example?