User 2fa loggin support

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:

How can we obtain the transactionId and TOTP?

Thank you!



Hi @bhargav ,

Could you please provide a link which you are referring to?

Regards, Andriy

@bhargav ,

Was the user registered in the application following instructions from the given link?

Regards, Andriy

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.


@bhargav ,

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.

Regards, Andriy

@bhargav ,

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?
twoFactorAuthtotpAuthEnabled
twoFA_qrURLtotpQR_Path
twoFA_secrettotpSecretKey

Regards, Andriy

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?

Hello @bhargav,

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.

Regards,
Stanislaw