Skip to main content
Module

x/supabase/mod.ts>GoTrueApi#signUpWithEmail

An isomorphic Javascript client for Supabase.
Go to Latest
method GoTrueApi.prototype.signUpWithEmail
Re-export
import { GoTrueApi } from "https://deno.land/x/supabase@1.3.1/mod.ts";

Creates a new user using their email address.

Parameters

email: string

The email address of the user.

password: string

The password of the user.

optional
options: { redirectTo?: string; data?: Record<string, unknown>; } = [UNSUPPORTED]

A URL or mobile address to send the user to after they are confirmed.

Returns

Promise<{ data: Session | User | null; error: ApiError | null; }>

A logged-in session if the server has "autoconfirm" ON