signIn

Starts sign-in with an identifier (email, phone, or username).

This method creates a sign-in attempt with the provided identifier. A separate SignIn.sendCode call is required to send the verification code.

Return

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

Example usage:

val signIn = clerk.auth.signIn { email = "user@email.com" }
// Then send code separately
signIn.sendCode { email = "user@email.com" }
signIn.verifyCode("123456")

Parameters

block

Builder block to configure the sign-in identifier.