nauth-toolkit is a framework-agnostic, embedded TypeScript authentication library for Node.js. Supports NestJS, Express, and Fastify with MFA, social auth, and zero external service dependencies.
nauth-toolkit is a comprehensive, open-source authentication system launching in 2026, designed for developers who need complete control over their authentication logic without relying on external services or third-party authentication providers.
Built as a framework-agnostic solution, it runs entirely within your server process, eliminating vendor lock-in and per-user fees. The toolkit provides a single TypeScript configuration that bootstraps all authentication services automatically, making it simple to integrate while remaining highly customizable.
It serves as a modern alternative to legacy authentication systems and SaaS-based solutions, empowering developers globally with flexibility, security, and cost predictability.
A flexible authentication system that works seamlessly with NestJS, Express, and Fastify. The toolkit provides framework-specific integrations while maintaining a unified core, allowing developers to choose their preferred Node.js framework without compromising authentication capabilities.
Support for email/password signup, social login (Google, Apple, Facebook), TOTP-based MFA, SMS OTP, email OTP, and passkey authentication. A challenge-based architecture provides unified handling of all verification flows while maintaining security and usability.
Industry-standard password hashing with Argon2id, JWT support with RS256 and HS256, CSRF protection, refresh token rotation with reuse detection, and comprehensive audit logging. IP geolocation tracking provides visibility into authentication events across geographies.
Single TypeScript configuration file that bootstraps all services automatically. Full source code access means no black boxes - developers can inspect, customize, and deploy with complete transparency. No external API calls or per-user fees.
nauth-toolkit was architected and developed by a core team of experienced backend engineers and security specialists, with ongoing contributions from the open-source community. The focus was on building a production-grade, secure, and flexible authentication system that prioritizes developer experience and data ownership.
nauth-toolkit is designed for developers worldwide who demand control, security, and transparency in their authentication systems. By eliminating external service dependencies and providing complete source code access, it empowers teams to build authentication solutions that align with their specific requirements and compliance needs.
The framework-agnostic architecture makes it an ideal choice for enterprises, startups, and individual developers building Node.js applications where authentication is critical to their success.
Ready to implement authentication your way? Head over to nauth.dev to access:
🔗 Visit nauth.dev