{"data":{"slug":"authjs","name":"Auth.js","tagline":"Authentication for the web, framework-agnostic","category":"nextjs","categoryName":"Next.js","url":"https://authjs.dev","github":"https://github.com/nextauthjs/next-auth","pricing":"open-source","hook":"Auth.js is authentication you own—with all the maintenance that implies.","whatsGood":"Provider support is comprehensive: OAuth, credentials, email magic links, and WebAuthn. The database adapter system works with your existing stack. The v5 rewrite improved Edge Runtime support and TypeScript types significantly.","theCatch":"You are building the UI, handling edge cases, and managing the infrastructure. Provider quirks require debugging.","verdict":"Maximum control for teams willing to own their auth.","addedAt":"2026-08-18","featured":false,"domain":"Next.js","subSpecialty":"Auth","capabilities":["auth"],"surfaces":["Self-host"],"ecosystem":["Node.js","Browser"],"licenseModel":"OSS/MIT","githubStars":28361},"related":[{"slug":"vercel","name":"Vercel","tagline":"The platform that made Next.js deployment trivial"},{"slug":"prisma","name":"Prisma","tagline":"Type-safe database access with killer DX"},{"slug":"drizzle","name":"Drizzle ORM","tagline":"TypeScript ORM that feels like SQL"},{"slug":"trpc","name":"tRPC","tagline":"End-to-end typesafe APIs without codegen"},{"slug":"clerk","name":"Clerk","tagline":"Auth that actually ships with your UI"}],"links":{"self":"/api/gems/authjs","html":"/gems/authjs","markdown":"/gems/authjs.md","category":"/api/gems?category=nextjs","categoryPage":"/stacks/nextjs"}}