interface ConfirmSignInWithSMSCode {
    codeDeliveryDetails?: AuthCodeDeliveryDetails<AuthUserAttributeKey>;
    signInStep: "CONFIRM_SIGN_IN_WITH_SMS_CODE";
}

Properties

signInStep: "CONFIRM_SIGN_IN_WITH_SMS_CODE"

Auth step requires user to use SMS as multifactor authentication by retrieving a code sent to cellphone.

Example

// Code retrieved from cellphone
const smsCode = '112233'
await confirmSignIn({challengeResponse: smsCode})