Skip to main content

Function: signUp()

function signUp(body, options?): Promise<Response>

Initiates the sign-up flow for the Email/Password provider.

Parameters

ParameterTypeDescription
bodyRecord<string, unknown>The sign-up payload (email, password, etc.).
options?ClientOptionsOverrides 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' })