setup-auth-magic-link
OfficialSign in securely without passwords.
Software Engineering#react#magic link#fastapi#rate limiting#email verification#passwordless auth#jwt cookies
AuthorAscenseurs-Menetrey-SA
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It solves the challenge of implementing passwordless authentication in a way that is secure, anti-enumeration safe, and production-ready for FastAPI backends with a React frontend.
Core Features & Use Cases
- Magic Link flow end-to-end: email-based single-use login that exchanges a verified link for HttpOnly JWT cookies.
- Token security & integrity: SHA-256 hashing in the database, short expiration, and atomic single-use verification to prevent race-condition replays.
- Safety controls: anti-enumeration responses, email/IP rate limiting, token cleanup strategy, and security headers/CORS aligned with the classic JWT auth setup.
- Frontend integration: /login (email only) and /auth/verify (reads token from URL and calls the verify endpoint with credentials included).
Quick Start
Ask the AI to implement Magic Link authentication for your FastAPI + React app following the secure flow (request link, verify token single-use, set HttpOnly JWT cookies, and add the React login/verify routes).
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: setup-auth-magic-link Download link: https://github.com/Ascenseurs-Menetrey-SA/amsa-claude-skills/archive/main.zip#setup-auth-magic-link Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.