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