Authentication built for Nuxt! Easily add authentication via OAuth providers, credentials or Email Magic URLs!
1.5k
Stars
191
Forks
83
Open issues
30
Contributors
AI Analysis
A Nuxt 3+ authentication module that integrates Auth.js/NextAuth.js or provides a local provider with credential and refresh token support. It serves teams building universal Nuxt applications who need production-grade authentication with OAuth, credentials, or magic links—particularly suitable for developers already invested in the Nuxt ecosystem who want native DX rather than generic solutions.
Inferred from signals mentioned in the README (tests, CI, type safety) — not a review of the actual code.
AI's overall editorial judgment — not an average of the bars above, can weigh other factors too.
Nuxt-native authentication module offering OAuth, credentials, and magic links with Auth.js or local backend support
nuxt-auth is a TypeScript authentication module for Nuxt 3+ applications, providing two provider strategies: Auth.js integration for server-side session management with OAuth support, and a local provider for credential-based authentication against external backends. Built by Sidebase, it sits between framework-agnostic solutions (Auth.js, Better Auth) and Nuxt-specific adoption, targeting developers building full-stack Nuxt applications who want authentication without framework context-switching.
Created October 2022, nuxt-auth emerged as Nuxt 3's ecosystem matured, addressing the gap between existing NextAuth.js patterns and Nuxt's specific rendering and composable model. It wraps Auth.js/NextAuth.js for Nuxt's universal apps rather than attempting to replace upstream libraries.
Repository gained 1,546 stars over ~3.75 years with modest recent velocity (2 stars in last 7 days as of 2026-07-07). Growth plateaued relative to framework-agnostic competitors, likely because adoption is constrained to Nuxt ecosystem rather than across web frameworks. Last commit 2026-06-30 indicates ongoing maintenance rather than abandoned state.
Adoption not verified through README or public metrics. No enterprise case studies, deployment counts, or production user testimonials documented. Presence of demo application (nuxt-auth-example) and documented quick-start suggest some real usage, but scale and breadth unknown. Downloads per month visible in badge but figure not extractable from README excerpt.
Appears to be a Nuxt 3 module wrapper around Auth.js and a custom local provider implementation. README documents two distinct provider paths: authjs (leveraging the 23k-star NextAuth.js library) and local (custom credential flow). Composables (`useAuth`) provide client-side session state and methods; server utilities (`getServerSession`, `getToken`) handle protected endpoints. Middleware patterns for route protection suggested but implementation not visible in README.
not documented in README
Last push 2026-06-30 (7 days before evaluation date) confirms active maintenance. Repository shows non-zero velocity in recent months. No evidence of abandonment. Rate of change appears measured rather than aggressive—consistent with mature, dependency-stable module rather than active feature expansion.
ADOPT IF: you are building Nuxt 3+ full-stack applications and need OAuth or credential authentication with native composable DX, and Auth.js patterns align with your backend design. AVOID IF: you need framework portability, require managed authentication (Auth0, Clerk), or are not committed to Nuxt long-term—the module's value is Nuxt-specific. MONITOR IF: you are evaluating Nuxt for a new project and want to confirm authentication ecosystem stability; recent maintenance is positive but adoption breadth remains undocumented.
Independent dimensions
Mainstream potential
3/10
Technical importance
6/10
Adoption evidence
3/10
- Adoption limited to Nuxt ecosystem—switching frameworks would require re-architecture. May not accumulate critical mass of third-party providers or integrations compared to framework-agnostic solutions.
- Dependency on Auth.js/NextAuth.js upstream library means inherited breaking changes and deprecations. Auth.js version compatibility not detailed in README.
- Real-world production adoption not verified; scale and reliability in multi-tenant or high-traffic scenarios unknown.
- TypeScript-only module; no mention of runtime stability testing, performance benchmarks, or load-testing evidence in README.
- Maintenance appears steady but team size and long-term commitment by Sidebase organization not documented.
nuxt-auth will likely remain a stable, niche-appropriate solution for Nuxt developers, maintaining slow but steady adoption within that ecosystem. Unlikely to cross into mainstream framework-agnostic adoption given competitive pressure from Better Auth and NextAuth.js. May gain incremental users as Nuxt 3 ecosystem matures, but mainstream leadership by other projects is probable.
Newsletter
Get analyses like this every Monday
Free weekly digest of the most interesting open-source discoveries.
Languages
Information
- Website
- https://auth.sidebase.io
- Language
- TypeScript
- License
- MIT
- Last updated
- 1w ago
- Created
- 45mo ago
- Analyzed with
- anthropic/claude-haiku-4-5
Stars over time
Contributors over time
Top 100 contributors only — repos with more will plateau at 100.
Open issues
globalAppMiddleware should be configurable at runtime, not only at build time
Application goes to 404 page after pressing browser back button in provider login page
Conflict between custom` /api/auth/signin` server route and nuxt-auth internal endpoint causes invalid auth-endpoint error
`token.exp` doesn't match decoded `JWT`
How to refresh user on page load ?
Top contributors
Recent releases
Similar repos
| Repository | Stars | Week Δ | Language | Score | Updated |
|---|---|---|---|---|---|
|
|
1.5k | — | TypeScript | 8/10 | 1w ago |
|
|
28.3k | — | TypeScript | 8/10 | 4w ago |
|
|
2.3k | — | TypeScript | 8/10 | 1d ago |
|
|
29.1k | — | TypeScript | 8/10 | 11h ago |
|
|
60.6k | — | TypeScript | 9/10 | 14h ago |
|
|
1k | — | TypeScript | 7/10 | 4d ago |
Framework-agnostic, supports Next.js and other frameworks; nuxt-auth is a Nuxt-specific wrapper around Auth.js (NextAuth.js successor). NextAuth.js dominates but requires framework adaptation; nuxt-auth offers native Nuxt DX but limits portability.
Framework-agnostic authentication library with modern TypeScript-first design. Competes at the foundation level; nuxt-auth builds on Auth.js rather than replacing it, so targets different positioning (Nuxt native vs. framework-agnostic).
Vendor-specific authentication service with framework SDKs. nuxt-auth is framework-specific but vendor-agnostic (supports multiple OAuth providers); targets DIY and self-hosted scenarios rather than managed auth services.
nuxt-auth competes for mindshare within Nuxt's official module ecosystem. 1,546 stars suggest reasonable uptake among Nuxt developers but lower than ecosystem leader modules.
