Description
Auth.js is an open-source authentication library for the web, used with frameworks such as Next.js, SvelteKit, Express and Qwik. You configure it with a list of providers, such as GitHub, and it adds sign-in routes and session handling to your app. The docs include getting-started guides, highlighted guides for configuring OAuth providers, an API reference and concept pages on security. Example apps are published for each framework. The site notes that the Auth.js project is now part of Better Auth. The code is on GitHub in the nextauthjs organisation, including the next-auth repository.…
Preview
Highlights
- Sign-in with OAuth providers such as GitHub
- Support for Next.js, SvelteKit, Express and Qwik
- Getting-started guides and API reference
- Example apps for each framework
- Free and open source
Ratings & Reviews
No ratings yet
Be the first to rate Auth.js.
People also visit

nextjs-authentication
Provides authentication implementation patterns for Next.js 15+ App Router
Auth.js FAQ
What is Auth.js?
An open-source authentication library for the web. It adds sign-in and sessions to apps built with frameworks such as Next.js and SvelteKit.
Is it free?
Yes. The site describes Auth.js as free and open source.
How do I set it up?
Configure it with a list of providers, for example GitHub, and mount its handlers on an auth route. The docs cover this for each framework.
Is the project still active?
The site says the Auth.js project is now part of Better Auth, so its future development is there.
Where is the source code?
On GitHub, in the nextauthjs organisation, including the next-auth repository and example apps.
What are the best Auth.js alternatives?
Popular alternatives to Auth.js include NextAuth, Melody Auth and Auth. See all Auth.js alternatives






