Skip to main content
API Reference / modelence / client / sendMagicLink
sendMagicLink(options): Promise<void>
Defined in: packages/modelence/src/auth/client/index.ts:186 Send a magic sign-in link to the given email address. Clicking the emailed link signs the user in. When the server enables auth.magicLink.allowSignup, this also works for new users — the account is created when the link is used; otherwise unknown emails receive no email. A generic response is always returned to avoid leaking account information.

Example

Parameters

Returns

Promise<void>