As per the instructions in the link Backendless 2FA, I am trying to implement 2FA in my web app.
Following the steps:
As shown in Screenshot 1, I made the required changes in the Backendless service as per the documentation.
As shown in Screenshot 2, I updated the user’s data by setting twoFactorAuth = true (checked).
As shown in Screenshot 3, I made a login request for the user whose twoFactorAuth is set to true, but the response doesn’t include a transactionId or TOTP (one-time password).
Could you please suggest the correct way to implement this? Specifically:
Hello Andriy,
yes i tried.
please see attached two images first i register new user and then try to login but still not working.
transaction id is not getting in response while register the new user.
Thank you for the additional information.
For the note - it is better to avoid posting API keys and user passwords in the public topics. Please edit your last screenshots.
Sorry for inconvenience. It appears that names of fields were changed but related documentation was not updated yet.
Could you please rename fields ass following and try to check TOTP login one more time? twoFactorAuth → totpAuthEnabled twoFA_qrURL → totpQR_Path twoFA_secret → totpSecretKey
Please provide the complete details for TOTP (Time-based One-Time Password) after obtaining a transactionID in a .NET Web API.
Specifically, include the API endpoint to call for TOTP verification, the structure of the request payload,
and the expected response format that indicates whether the TOTP verification was successful.
please see attachd screenshot we have already enable the dynamic schema definition configuration still nedd to add column?
To enable 2FA for a specific user, avoid manually toggling the totpAuthEnabled column, as this alone isn’t sufficient. This column serves as a visual indicator of the 2FA status for a user, not as a control switch. Instead, use the enable2FA method from the TOTP API Service with the logged-in user to activate 2FA. Similarly, to disable it, use the disable2FA method rather than directly toggling totpAuthEnabled.
Hope this helps! If you have any further questions, feel free to reach out.