Is there any way that the 2fa prompt could keep the user on the page they were trying to go to instead of redirecting to the home page? If so, that would be much appreciated.
after you enter your 2fa code it should leave you alone for a while and you can then just navigate back to where you were trying to go