Skip to content

Add Passwordless Login with Email OTP and Magic Link in Express (JavaScript > Node) - #973

Open
manishgupta412 wants to merge 1 commit into
practical-tutorials:masterfrom
manishgupta412:add-express-email-otp-login
Open

manishgupta412 wants to merge 1 commit into
practical-tutorials:masterfrom
manishgupta412:add-express-email-otp-login

Conversation

@manishgupta412

Copy link
Copy Markdown

Adds Passwordless Login with Email OTP and Magic Link in Express (Mailtrap) under JavaScript > Node.

  • Author disclosure: I'm the author of this repository.
  • Free and open: MIT-licensed, public, no paywall or signup.
  • What the reader builds: a complete working passwordless login for Express (6-digit email codes and magic links, hashed single-use codes, attempt limits, rate limiting, server-side sessions, emails through the Mailtrap API) with TypeScript and SQLite. The README walks through the setup, the flow, the security design and the key code, and the repo has a test suite to build against.
  • Honest scope note: it is a documented project with a README walkthrough rather than a multi-part written tutorial. If that is out of scope for this list, I'm happy to withdraw the pull request.

Checks: python3 scripts/check_readme.py lint exits 0 (errors=0, warnings=0), and the entry uses the - [Title](link) format with a direct link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant