
Auth.js
Auth.js is a free, open-source authentication library for web applications, supporting OAuth, magic links, and credentials across multiple frameworks.
What is Auth.js
Auth.js is a complete authentication solution that works across different JavaScript frameworks. It provides everything needed to add secure login systems to websites and applications. You can let users sign in through their existing accounts on services like Google or GitHub, or you can use email-based magic links, or even traditional username and password combinations.
The library is runtime agnostic, meaning it adapts to work with Next.js, SvelteKit, Express, Qwik, and other frameworks. It handles session management, protects routes, and connects to databases when needed. Auth.js follows web standards and security best practices, making it both safe and reliable. Since it is open source, the code is publicly available for review and contributions from developers worldwide.
Features of Auth.js
OAuth 2.0 and OpenID Connect support
80+ pre-configured authentication providers
Magic link email authentication
Username and password credentials
WebAuthn passwordless login
Multiple framework support (Next.js, SvelteKit, Express)
Database adapters for major databases
JWT or database sessions
Built-in security features
Custom page support
TypeScript ready
Open source and free
Auth.js Pricing
Free / Open Source
Free
- Complete authentication solution
- 80+ pre-configured OAuth providers
- OAuth 2.0 and OpenID Connect support
- Magic link email authentication
- Credentials-based authentication
- WebAuthn passwordless login
- Multiple framework support
- Database adapters (PostgreSQL, MySQL, MongoDB, etc.)
- JWT or database sessions
- Built-in security features (CSRF, PKCE)
Auth.js Use Cases
Auth.js Repository
View on Github| Stars | 28,315 |
| Forks | 4,042 |
| Repository Age | 8 years |
| Last Commit | 12 days ago |
FAQ's About Auth.js
See what users are saying about Auth.js
0 Reviews
No reviews yet
Be the first to review Auth.js












