I'm working on a new project where I need to implement authentication in a Next.js app. In my previous project, I used NextAuth.js — it worked well, but I ran into some limitations when trying to support multi-tenant auth and integrate custom flows.
I recently came across BetterAuth and it looks promising — simpler APIs, better customization, and support for edge functions. But I haven’t seen many people talk about it yet, and I’m a bit hesitant to adopt it blindly.
Has anyone here used BetterAuth in a production setting? Any major pros or cons compared to NextAuth.js? Would you recommend it for a new project?
I'm relatively new to authentication libraries, so any insight, experience, or advice would be really appreciated. Thanks!