Secure by default.
A complete authentication reference built with Nuxt 3, JWT, and role-based access control.
JWT Auth
Stateless, cookie-based sessions with configurable expiry and server-side verification.
Role Control
Middleware guards protect routes based on roles. Admin-only, user-only, and guest-only patterns.
Nuxt Middleware
Route-level guards with SSR and client-side support. Automatic redirect on unauthorized access.