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

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

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.GoTrueClient.prototype.resetPasswordForEmail
Re-export
import { supabase } from "https://deno.land/x/deco@1.59.1/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; }>