Setup TOTP for 2FA

This step finalizes the Two-Factor Authentication (2FA) setup for users using TOTP (Time-based One-Time Password). After scanning the QR code during the initial setup, the user must enter the generated TOTP code into the system to complete the authentication setup.

Once the user enters the correct TOTP, the system verifies the code, and if successful, 2FA is activated for the account. To complete the TOTP setup, the following API is used

Request Parameters

Request

Here's how the request to complete the TOTP setup might look

Response If the TOTP validation is successful, the API will return a response

Last updated