@rnab·Oct 25NextAuth v4 to Auth.js v5: The Migration Nobody Warned Me AboutI opened an old side project to add a second OAuth provider and none of the imports resolved. next-auth/client — gone. Providers.Google —…A response icon1A response icon1
@rnab·Oct 13Setting up GitHub sign-in with Auth.js v5 in the Next.js App RouterIf you learned NextAuth from a blog post more than a year old, almost everything you remember is wrong now. The…
@rnab·Oct 4NextAuth in the Next.js App Router, Without the Broken TutorialsHalf the NextAuth tutorials online are for a version of the library that no longer exists. They import Providers from next-auth/providers…A response icon1A response icon1
Syamkumar·Sep 22Authentication in Next.js: NextAuth vs Custom AuthEvery new Next.js SaaS hits this decision early: use NextAuth (Auth.js) or roll your own authentication. Here’s what actually differs, with…
@rnab·Sep 11NextAuth v5: the config file that replaced everything I knewThe thing that trips people up when they come back to NextAuth after a year away is that the shape of the whole library changed. There’s no…
@rnab·Sep 4NextAuth moved to one config file and I stopped fighting itHalf the NextAuth tutorials still online are wrong now. They tell you to drop a [...nextauth].ts in pages/api/auth/, import Providers as a…
@rnab·Aug 30Wiring up credentials auth in Next.js without shipping a footgunEvery tutorial I found for “email and password login in Next.js” was either three major versions out of date or quietly insecure. The old…
Smitha M L·Jul 31The Cookie That Broke the Server: How we fixed HTTP 431 Error in Next.jsArchitecting a High-Availability Redis Token Store with NextAuth Fallbacks
Hernán Cussi·Jul 28Making a Stolen OAuth Token Useless: DPoP in PracticeSender-constrained access tokens with Keycloak, Spring Boot, and Next.js.
Hamza Sajid·Jul 15NextAuth v5: Simpler Auth in Next.js (No More Session Object Juggling)If you’ve used NextAuth v4, you know the pain: getServerSession here, getToken there, passing authOptions everywhere. NextAuth v5 (Auth.js)…