Files
better-auth/docs/content/blogs/authjs-joins-better-auth.mdx
Bereket Engida 2f8a0e1168 chore: misc
2025-09-29 18:02:21 -07:00

73 lines
3.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
title: Auth.js is now part of Better Auth
description: "Auth.js, formerly known as NextAuth.js, is now being maintained and overseen by Better Auth team"
date: 2025-09-22
author:
name: "Bereket Engida"
avatar: "/avatars/beka.jpg"
twitter: "imbereket"
image: "/blogs/authjs-joins.png"
tags: ["seed round", "authentication", "funding"]
---
Were excited to announce that [Auth.js](https://authjs.dev), formerly known as NextAuth.js, is now being maintained and overseen by Better Auth team. If you haven't heard of Auth.js, it has long been one of the most widely used open source authentication libraries in the JavaScript ecosystem. Chances are, if youve used [ChatGPT](https://chatgpt.com), [Google Labs](https://labs.google), [Cal.com](https://cal.com) or a million other websites, youve already interacted with Auth.js.
## Back Story about Better Auth and Auth.js
Before Better Auth, Auth.js gave developers like us the ability to own our auth without spending months wrestling with OAuth integrations or session management. But as applications became more complex and authentication needs evolved, some of its limitations became harder to ignore. We found ourselves rebuilding the same primitives over and over.
The Auth.js team recognized these challenges and had big ideas for the future, but for various reasons couldnt execute them as fully as they hoped.
That shared frustration and the vision of empowering everyone to truly own their auth started the creation of Better Auth. Since our goals aligned with the Auth.js team, we were excited to help maintain Auth.js and make auth better across the web. As we talked more, we realized that Better Auth was the best home for Auth.js.
## What does this mean for existing users?
We recognize how important this project is for countless applications, companies, and developers. If youre using Auth.js/NextAuth.js today, you can continue doing so without disruption—well keep addressing security patches and urgent issues as they come up.
But we strongly recommend new projects to start with Better Auth unless there are some very specific feature gaps (most notably stateless session management without a database). Our roadmap includes bringing those capabilities into Better Auth, so the ecosystem can converge rather than fragment.
<Callout>
For teams considering migration, weve prepared a [guide](/docs/guides/next-auth-migration-guide) and well be adding more guides and documentation soon.
</Callout>
## Final Thoughts
We are deeply grateful to the Auth.js community who have carried the project to this point. In particular, the core maintainers-[Balázs](https://x.com/balazsorban44), who served as lead maintainer, [Thang Vu](https://x.com/thanghvu),[Nico Domino](https://ndo.dev), Lluis Agusti and [Falco Winkler](https://github.com/falcowinkler)-pushed through difficult phases, brought in new primitives, and kept the project alive long enough for this transition to even be possible.
Better Auth beginning was inspired by Auth.js, and now, together, the two projects can carry the ecosystem further. The end goal remains unchanged: you should own your auth!
<Callout type="none">
For the Auth.js team's announcement, see [GitHub discussion](https://github.com/nextauthjs/next-auth/discussions/13252).
</Callout>
### Learn More
<Cards>
<Card
href="https://www.better-auth.com/docs/introduction"
title="Better Auth Setup"
>
Get started with installing Better Auth
</Card>
<Card
href="https://www.better-auth.com/docs/comparison"
title="Comparison"
>
Comparison between Better Auth and other options
</Card>
<Card
href="https://www.better-auth.com/docs/guides/next-auth-migration-guide"
title="NextAuth Migration Guide"
>
Migrate from NextAuth to Better Auth
</Card>
<Card
href="https://www.better-auth.com/docs/guides/clerk-migration-guide"
title="Clerk Migration Guide"
>
Migrate from Clerk to Better Auth
</Card>
</Cards>