Auth.js
Authentication for the web, framework-agnostic
Next.js / Auth · ISC · 28.4k
Reviewed 2026-08-18 · last push 2026-07-22 · repo checked 2026-10-21
What's Good
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.
The Catch
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.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/authjs)
HTML
<a href="https://stackgems.com/gems/authjs"><img src="https://stackgems.com/badge/authjs.svg" alt="Auth.js reviewed on Stack Gems" height="20"></a>
Related
Next.js →- Better AuthTypeScript auth that lives in your app, not a rented IdP
- LogtoMPL-2.0 identity platform with a 50k-MAU free Cloud
- authentikMIT-core self-hosted IdP; enterprise/ is not MIT
- ZITADELAGPLv3 identity Cloud at US$0/Month — 100 DAU, not Logto 50k MAU
- AutheliaApache-2.0 reverse-proxy SSO, not a full IdP like authentik