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

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
method supabase.GoTrueClient.prototype.resetPasswordForEmail
Re-export
import { supabase } from "https://deno.land/x/live@1.74.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; }>