Verify a magic link

http
GET /auth/magiclink

Verify a magic link.

Parameters

NameInRequiredDescription
tokenqueryYesOne-time JWT from the sign-in email. Redeem it in the browser with the device-binding cookie from the link request.
redirect_urlqueryURL to redirect after verification
redirectUrlquery

Responses

StatusDescription
302Redirect to the application with an auth cookie set, or to the sign-in page with a typed magic_link_* failure reason
400Malformed request rejected by query validation before the handler runs
429Too many verification attempts
500Unexpected verification failure
503Token consumption could not be confirmed; retry the request