useSignInEmailOTP
to sign in a user with a one-time password sent via email.
signInEmailOTP
function with the user’s email to send a one-time password (OTP) to that email address.needsOtp
will be true
, indicating that an OTP is required.verifyEmailOTP
function with the email and the received OTP.isSuccess
becomes true
.isError
and error
. While the signInEmailOTP
and verifyEmailOTP
actions are running, isLoading
equals true
.
EmailOTPOptions