Function: signUp()
function signUp(body, options?): Promise<Response>
Initiates the sign-up flow for the Email/Password provider.
Parameters
| Parameter | Type | Description |
|---|---|---|
body | Record<string, unknown> | The sign-up payload (email, password, etc.). |
options? | ClientOptions | Overrides for base path, headers, or a custom fetch implementation. |
Returns
Promise<Response>
A Response from the /signup endpoint.
Example
await signUp({ email: '[email protected]', password: 'password' })