A flexible, secure authentication library for modern web applications, supporting OAuth, email/passwordless, and passkeys across any JavaScript runtime.
Auth.js is an open-source authentication library for modern web applications, built on standard Web APIs. It provides a flexible, secure solution for implementing authentication with support for OAuth, email/passwordless, passkeys, and database-agnostic sessions, working across any JavaScript runtime and framework.
Full-stack developers building web applications with JavaScript/TypeScript who need a robust, customizable authentication system that works with any backend or frontend framework.
Developers choose Auth.js for its open-source nature, flexibility to work with or without a database, strong security defaults, and ability to run anywhere—from Docker to serverless environments—while maintaining full control over authentication data.
Authentication for the Web.
Supports OAuth 2.0+, OIDC, email/passwordless, and passkeys with built-in providers for services like Google and GitHub, as highlighted in the README for flexible sign-in options.
Works with or without a database, offering adapters for MySQL, PostgreSQL, MongoDB, and more, allowing developers to own their data and choose backends freely.
Promotes passwordless sign-in, uses CSRF tokens, and encrypts JWTs by default following OWASP guidance, ensuring secure authentication out of the box.
Runs anywhere including Docker, Node.js, and serverless environments, making it suitable for diverse deployment scenarios as stated in the README.
Setting up custom providers, adapters, and advanced session management requires significant manual configuration, which can be daunting for simpler projects.
Lacks pre-styled UI components for sign-in pages, forcing developers to build interfaces from scratch, adding to development time.
With the project now part of Better Auth and recommendations to use it for new projects, there may be breaking changes or reduced focus on Auth.js, as noted in the README.
The Frontend Stack for Agents & Generative UI. React + Angular. Makers of the AG-UI Protocol
The AI Toolkit for TypeScript. From the creators of Next.js, the AI SDK is a free open-source library for building AI-powered applications and agents
Next SEO is a plug in that makes managing your SEO easier in Next.js projects.
⚡ Deploy your Next.js apps on AWS Lambda@Edge via Serverless Components
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.