Auth.js is now part of Better Auth #13252
Replies: 25 comments 7 replies
-
A huge thank you to auth.js for the foundation, and best of luck! Excited to see better-auth lead the way forward :) |
Beta Was this translation helpful? Give feedback.
-
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. ❤️ |
Beta Was this translation helpful? Give feedback.
-
😲 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. 💙 |
Beta Was this translation helpful? Give feedback.
-
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 🎉👏 |
Beta Was this translation helpful? Give feedback.
-
Wow! The old Nextjs king of Auth gets bought over by the new king. |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
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 ❤️ |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Thank you for seeking alignment above everything, I couldn't be any happier to see this happening! |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
❤️ appreciate everything you've built over the years @balazsorban44! |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
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! |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Nextauth to auth.js to better-auth |
Beta Was this translation helpful? Give feedback.
-
I have worked a lot with authjs in many of projects and it was really helpful for authentication and now I'm excited to use it as better auth |
Beta Was this translation helpful? Give feedback.
-
Thanks for the transparency — this feels like a responsible move. I’ve used NextAuth (Auth.js) in multiple projects and it’s been super helpful. Glad to know security fixes will continue. A couple of quick thoughts: Will new features live only in Better Auth, or still get backported? Any migration guidance for custom adapters and edge cases would be great. Overall, I see this as a positive step — combining forces is better than splitting. Big thanks to both teams for the work you’ve put in. |
Beta Was this translation helpful? Give feedback.
-
what about v5 bro? |
Beta Was this translation helpful? Give feedback.
-
I've been using Auth.js ever since I started working with authentication in NextJS, this library has transformed authentication the most critical yet most painful becomes easier than ever. Then I switched to some managed authentication services before coming back to Lucia and currently Better Auth. Excited (and also a little bit sad) to see Auth.js joining the Better Auth force, this opens lots of opportunities, and also closing a wonderful chapter of authentication. Kudos to @balazsorban44 and Auth.js team for creating a concrete fundamental of simplifying authentication and authorization process 🫶 |
Beta Was this translation helpful? Give feedback.
-
About 2 months ago, I was using AuthJS JS, then ran into Better-auth. Thank you for laying the foundation . |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
-
Your dedication has been the heart of this project. Thank you for laying the foundation |
Beta Was this translation helpful? Give feedback.
-
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. |
Beta Was this translation helpful? Give feedback.
-
Ok thanks a lot!! |
Beta Was this translation helpful? Give feedback.
-
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 |
Beta Was this translation helpful? Give feedback.
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
Beta Was this translation helpful? Give feedback.
All reactions