fusionauth-issues
fusionauth-issues copied to clipboard
MFA authentication challenge page endless loop
MFA authentication challenge page endless loop
Description
When a user with MFA enabled attempts to log in using FusionAuth's login page, they are caught in an endless loop of authentication challenges that never brings them to a page where they can enter their second factor code.
Affects versions
1.30.2
Steps to reproduce
Steps to reproduce the behavior:
- Go to the "Account" URL for an application (sourced from Application Details in the FusionAuth dashboard).
- Log in with username and password for a user account that has MFA turned on.
- See the "Authentication Challenge" page.
- Click "Continue."
- Choose the two-factor method you would like to use by selecting the radio button.
- Click "Continue."
- See that you are back on the "Authentication Challenge" page from 3, instead of the page where you can enter the second factor code. Also, the user never receives the code.
- NOTE that while I was testing I discovered that if I refresh the "Authentication Challenge" page and confirm that I want to resend the form then the code is sent and I can reach the page where I can enter it and log in.
Expected behavior
I expected the code to be sent and for the page where the user can enter the code to load automatically.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform
We have observed this on multiple platforms.
- Device: Desktop and iPhone
- OS: Linux (desktop) and iOS
- Browser + version: Firefox 105.0.3 (Linux) and Safari (on the iPhone, but I don't know the version)
Additional context
In the browser tools, I see Uncaught ReferenceError: Prime is not defined
in case that's related.
Here is a video of this happening on iPhone:
https://user-images.githubusercontent.com/1497818/195392837-a7f62749-91bb-459c-91bd-437212838b3b.mov
Thanks @cecilia-donnelly . Thanks for using FusionAuth!
That is quite an old version (released a year ago: https://fusionauth.io/docs/v1/tech/release-notes#version-1-30-2 ).
Can you reproduce the issue on 1.40.2 (the latest version)?
Hi @mooreds. I've looked into it and as you say we're fairly far behind. It will be a project for us to catch up. What's the latest version that's still in support, so we might have an easier time of it? (I looked but couldn't find that info - apologies if it's available somewhere!)
HI @cecilia-donnelly
We don't have an official version support policy (we don't force anyone to upgrade).
However, we don't backport fixes. If you found this issue in the latest version, we'd fix the bug, but you'd have to upgrade to the release where it was fixed to get it.
Hope that helps.
Yes, that is helpful. Thank you!
Great, thanks! Please let us know if you can recreate on 1.40.2, as we'd definitely want to fix this behavior if it is present there.
Perhaps a duplicate of:
- https://github.com/FusionAuth/fusionauth-internal-issues/issues/189
Please re-open if this occurs again.