[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live) [v0](/c/v0/59) # v0 failing to implement authentication with NextAuth and BetterAuth in Next.js 17 views · 1 like · 2 posts Michael Sachdev (@dcazrael) · 2026-03-15 · ♥ 1 ## Problem Tried to give `v0` a properly drafted spec and it did a fantastic job on the frontend, but it failed repeatedly on the authentication implementation. ## Current Behavior 1. **NextAuth/Auth.js**: `v0` suggested this but couldn't get it working after 5 tokens. 2. **JWT Solution**: Attempted a custom `JWT` solution, which also failed after 2 tokens. 3. **BetterAuth**: Tried `better-auth`, but `v0` claimed incompatibility despite it being designed for `Next.js`. Pretty disappointed that a simple auth flow doesn’t work. The frontend part took around 1.5 tokens, but losing 90% of my tokens for non-working auth is frustrating. ## Environment - Framework: `Next.js` (User mentioned version 16) - Tool: `v0` Now granted it’s a free tool for me, the tokens were granted for free. But this gives me 0 confidence of purchasing tokens for it. Philipp Soldunov (@psoldunov) · 2026-03-26 Having same issue with an existing app that I want to migrate to v0