interface ContinueSignInWithTOTPSetup {
    signInStep: "CONTINUE_SIGN_IN_WITH_TOTP_SETUP";
    totpSetupDetails: AuthTOTPSetupDetails;
}

Properties

signInStep: "CONTINUE_SIGN_IN_WITH_TOTP_SETUP"

Auth step requires user to set up TOTP as multifactor authentication by associating an authenticator app and retrieving an OTP code.

Example

// Code retrieved from authenticator app
const otpCode = '112233';
await confirmSignIn({challengeResponse: otpCode});
totpSetupDetails: AuthTOTPSetupDetails