verifyCode

Verifies the first factor with the provided code.

The verification channel (email or phone) is automatically inferred from the SignIn.firstFactorVerification state.

Return

A ClerkResult containing the updated SignIn object on success, or a ClerkErrorResponse on failure.

Example usage:

signIn.verifyCode("123456")

Parameters

code

The verification code to verify.