signUp

Creates a new sign-up with the provided details.

Return

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

Example usage:

val signUp = clerk.auth.signUp {
email = "newuser@email.com"
password = "secretpassword"
firstName = "John"
lastName = "Doe"
}

Parameters

block

Builder block to configure the sign-up details.