Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/live/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/live@1.57.17/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; }>