SuiteCRM Version: 8.5.1 Installation Type: Compiled zip (downloaded from the official SuiteCRM site) Environment: IIS 10 and PHP Authentication Type: Default login with Two-Factor Authentication (2FA) enabled Frontend: Default compiled React frontend
Issue Summary:
After enabling Two-Factor Authentication (2FA) for enhanced login security, I am receiving the 2FA code via email as expected. However, the UI does not redirect to the token input screen where I can enter the code.
Steps to Reproduce:
Navigate to the login screen (/public/#/Login).
Enter valid username and password.
Submit the login form.
Email is received with the 2FA code.
Expected: User is redirected to a screen prompting for the 2FA token.
Actual: No redirection occurs; the UI displays an error.
Observed Behavior:
The GraphQL response (checked in the browser network tab) contains raw HTML content, not the expected JSON format.
The UI shows an error like "Metadata not found" or similar.
No errors are shown in SuiteCRM log files (suitecrm.log, php_error.log).
Request:
Please help investigate why the frontend is not handling the 2FA redirection correctly after successful login and email token generation. Also, guidance on returning proper JSON instead of HTML in the GraphQL response would be helpful.
Hi,
As suggested, I tried a fresh setup using the latest SuiteCRM version 8.8 on nginx. I followed the steps to enable Two-Factor Authentication (2FA) and used an authenticator app to generate the verification token.
However, when attempting to verify the token, I receive the following error:
There is a time difference between the server and my device — the server is set to EST timezone, while my phone is on IST timezone.
However, I don’t think this time difference should be causing the issue.