Skip to content

Sign in with a magic link (the link in the email)

POST
/magic-link/verify
curl --request POST \
--url 'http://localhost:4000/api/auth/magic-link/verify?token=example'

Signs in and sets the session cookie. Limited to 5 a minute per IP.

token
required
string

Signed in: redirects to the callbackURL. A bad, used or expired link: redirects to the errorCallbackURL (else the callbackURL, else /) with ?error=INVALID_TOKEN and sets no cookie.

Too many tries, or another error

Media typetext/html