Magic links / OTP
Store only a hash of the token, make it single-use and short-lived, and never leak whether an email exists.
What this skill helps you build
Passwordless sign-in done two ways — an emailed magic link or a one-time code — with the single-use, expiring, hashed tokens that keep either one safe.
The production takeaway
Store only a hash of the token, make it single-use and short-lived, and never leak whether an email exists.
Inside this skill
The full skill expands these implementation areas with decisions, edge cases, prompts, tests, and framework-specific code.
Unlock the full implementation
Paid access includes the complete skill body, implementation prompt, common mistakes, production checklist, and code examples where this skill includes them.