Sign in with a magic link (the link in the email)
GET
/magic-link/verify
const url = 'http://localhost:4000/api/auth/magic-link/verify?token=example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:4000/api/auth/magic-link/verify?token=example'Shows “Sign in as you@example.com?” with a Continue button. Consumes nothing, so mail scanners cannot use the link up.
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”token
required
string
Responses
Section titled “Responses”The confirm page
Media typetext/html
The link is invalid, used or expired
Media typetext/html