Next.js Discord

Discord Forum

Auth and nextjs.

Unanswered
Asiatic Lion posted this in #help-forum
Open in Discord
Asiatic LionOP
It’s honestly baffling that Vercel shills NextAuth as the go-to auth solution for Next.js when it’s straight-up unusable for database sessions in the App Router. Authentication is critical for 99.9% of apps, yet NextAuth is riddled with bugs like auth() returning null despite a valid session cookie, causing endless No active session errors and redirect loops. The Drizzle adapter is a mess, and I had to switch to Lucia Auth to get my project working. How is a library this broken being pushed so hard by Vercel? Is there any timeline for fixing these core issues, or should we all just abandon NextAuth for something that actually works? You can't even use a credentials provider, it's bizarre really.

1 Reply

Asian black bear
I am going to lock this thread as it's not constructive.