Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deco/deps.ts>supabase.GoTrueClient#resetPasswordForEmail

deco is the edge-native site editor and app framework for building dynamic, high-performance sites with a built-in visual admin UI.
Go to Latest
method supabase.GoTrueClient.prototype.resetPasswordForEmail
Re-export
import { supabase } from "https://deno.land/x/deco@1.27.10/deps.ts";
const { GoTrueClient } = supabase;

Sends a password reset request to an email address. This method supports the PKCE flow.

Parameters

email: string

The email address of the user.

optional
options: { redirectTo?: string; captchaToken?: string; }

The URL to send the user to after they click the password reset link.

Returns

Promise<{ data: { }; error: null; } | { data: null; error: AuthError; }>