loginWithMagicLink():Defined in: packages/modelence/src/auth/client/index.ts:207 Complete a magic link sign-in. Call this from the page the magic link landing route redirects to. The token is exchanged server-side via an httpOnly cookie, so no arguments are needed. Signs the user in — creating the account first when the email is not registered yet and the server enablesPromise<null|User>
auth.magicLink.allowSignup —
and returns the logged-in user.
Example
Returns
Promise<null | User>