Auth.js is now part of Better Auth #13252
Replies: 35 comments 27 replies
|
A huge thank you to auth.js for the foundation, and best of luck! Excited to see better-auth lead the way forward :) |
|
I’m happy that I started my full-stack journey in 2021 using NextAuth. I switched to a paid auth solution when building my startup, only to come back to a free & beautiful solution like Better Auth. I was wondering what had become of Auth.js, and after reading this, I know it won’t just be a memory but a long lasting journey. ❤️ |
|
😲 Wow… didn’t see this coming! Auth.js has been the backbone of authentication for so many of us—it made OAuth and sessions actually approachable. Thank you for carrying the web on your shoulders all these years 🙏 Excited (and a bit emotional) to see it transition to the Better Auth team. End of an era, but also the start of something even bigger. 🚀 Thanks Auth.js, you’ll always be legendary. 💙 |
|
open source is pure gold, it knows when to compete and when to collaborate, merging teams with a single goal to serve the community and people congratulations to both of them 🎉👏 |
|
Wow! The old Nextjs king of Auth gets bought over by the new king. |
|
This seems amazing - would love to know the behind scenes of how this came to a merge. Certainly not typical for OSS projects to get merged like so. I migrated over to better-auth for new projects a month ago, pretty happy with it. Great decision overall IMO, just wondering how more of this behavior could be promoted. |
|
Thank you for the creation of NextAuth and the continued maintenance. There may have been jokes about the v5 but everything from v0 to v4 was helluva run! This is how open source should work ❤️ |
|
Thanks for creating NextAuth 🙏 When I tried NextAuth for the first time. I was blown away. Because I was fighting with Firebase Auth It truly felt like a fresh air Later I migrated to Better-Auth. Now this is a great news. |
|
Thank you for seeking alignment above everything, I couldn't be any happier to see this happening! |
|
This is exactly what makes the open-source community so special. Thank you ALL for everythine done auth-related for us over the years, team! Also, congratulations @Bekacru and all the
One question, does this absorbent also both recommended + include |
|
❤️ appreciate everything you've built over the years @balazsorban44! |
|
Thanks ALL for the hard work! That was a journey and you guys saved me so many hours across years with your awesome project. <3 |
|
This is amazing to see the OSS world coming together. Props to the Auth.js team for their work over the years and stoked for @Bekacru to be leading the charge now! |
|
Thanks to all the contributors over the years for producing the first great auth library for Next.js. This was a huge value add during a time of manual authentication systems, well before the landscape of clerk or workos or auth0. Happy to see this project land with the better auth team. |
|
Nextauth to auth.js to better-auth |
|
Thank you for building NextAuth/Auth.js 🙏 docs an community support have always been incredible and allowed us to customize/extend it way more than we expected |
|
Your dedication has been the heart of this project. Thank you for laying the foundation |
|
I have been using NextAuth for years. Thanks to all contributors who made it possible. I am bit sad as its going to BetterAuth, and its better to have options, so today I am launching AirAuth https://github.com/n10l/airauth Looking for people to contribute and take it further as next open source alternative. Stay tuned, a big update coming next week. |
|
Ok thanks a lot!! |
|
Questions - Does Better auth support jwt sessions in cookies? https://next-auth.js.org/configuration/callbacks#jwt-callback my understanding is better auth is more geared around utilising databases or existing auth providers? "Better Auth requires a database to store user data. You can easily configure Better Auth to use SQLite, PostgreSQL, or MySQL, and more!" We aren't using a database directly in our project with NextAuth |
|
WHERE IS V5 bro is V5 coming out of beta? |
|
How can I migrate from a "jwt" base authentication with "credential" sigin-in in "better-auth"? Any guidelines? |
|
I am actually quite sad by this news. I've found that @auth.js is much more flexible for my needs, than better-auth. better-auth provides a do it my way approach, while @auth.js was just focused on the OAuth/OIDC flows, with the database layer being tailorable if you want it. |
|
Can we atleast get a confirmation whether AuthJS V5 will be stepping out of beta? Personally, I am using AuthJS V5 (with lots enterprise logic) for my production application and have faced no security issues. Switching to BetterAuth would be problematic for me, as AuthJS v5 is deeply rooted in my app. |
|
how do we know better-auth is more or less secure than authjs? going by usage numbers, authjs would have found more edge security issues. |
|
Has anyone heard anything on whether NextAuth V5 will be completed and exit beta? |
|
Can anyone explain why recommending migration to better-auth? I've used both in my projects, but I think next-auth has better overall DX. For example the organization is first-class citizen and built-in in next-auth, where in better-auth it's a plugin that requires very careful setup to make it work. |
|
I'm also not interested in moving to better-auth, auth.js is just so much better. Will we still see a stable release? |
|
Use V4. |
|
It’s crazy to see that some of the front packages have a lifespan of a few years .... 😮💨 |
Uh oh!
There was an error while loading. Please reload this page.
Auth.js is joining forces with Better Auth
We’re excited to share that Auth.js (formerly NextAuth.js) will now be maintained by the Better Auth team. Auth.js has powered authentication for a huge portion of the web, helping developers ship OAuth and session management fast. As applications and requirements grew more complex, the project’s original scope started to show its limits, and Better Auth emerged with a broader, more modern approach that aligns with where the ecosystem is heading.
We also want to acknowledge the obvious: our pace slowed over the past year. Maintainers moved roles, time was tight, and the surface area outgrew what we could responsibly support. This transition ensures that Auth.js continues to receive security and critical fixes, while giving users a clear, actively maintained path forward.
What this means for you: If you’re using Auth.js today, you can keep using it—maintenance will continue for security and urgent issues. If you’re starting something new (or planning a refresh), we recommend Better Auth as the best way forward for most teams, with migration guides available and more coming.
Finally, thank you to our community—contributors, maintainers, and everyone who opened issues, PRs, and discussions. You carried this project to this point and made a thoughtful transition possible. For more information and a better-auth migration guide, please check out their post here:
https://www.better-auth.com/blog/authjs-joins-better-auth
The Auth.js Team
All reactions