Build a complete authentication system in NestJS — without Firebase or Auth0. nestjs-multi-auth is a self-hosted identity provider that handles: JWT + refresh tokens OAuth (Google, Facebook, Apple) Magic links (passwordless login) MFA / 2FA (TOTP) Account linking (multiple login methods per user)
A lightweight authentication toolkit for Node.js: secure password hashing, JWT access/refresh tokens, and Express middleware — as small, independent building blocks. No database, no user model, no login routes, no opinions. You stay in control of your app; this just handles the parts that are easy to get wrong.