I Spent Hours Debugging better-auth OAuth… Because I Overthought It
We’ve all been there: you’re building a Next.js app, hit a wall, and spend hours questioning your entire tech stack—only to realize you overthought the whole thing. *The Next.js Rabbit Hole My brain made an assumption: "If there is a sign-in endpoint, there must be a separate sign-up endpoint for new users." Believing this, I spent hours debugging and pointing fingers at everything: *The Fix I completely overthought it. In better-auth, signIn handles both sign-in AND sign-up automatically. I