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

x/gotrue/src/index.ts>GoTrueApi#sendMagicLinkEmail

An isomorphic Javascript library for GoTrue.
Latest
method GoTrueApi.prototype.sendMagicLinkEmail
Re-export
import { GoTrueApi } from "https://deno.land/x/gotrue@3.0.0/src/index.ts";

Sends a magic login link to an email address.

Parameters

email: string

The email address of the user.

optional
options: { redirectTo?: string; } = [UNSUPPORTED]

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

Returns

Promise<{ data: Record<string, unknown> | null; error: ApiError | null; }>