nuxt-umbu
v0.0.5
Published
Authentication module simple for Nuxt.js
Downloads
633
Maintainers
Readme
Nuxt Umbu
Nuxt Umbu is an authentication module for Nuxt designed to work seamlessly with Laravel Sanctum and Laravel Passport.
It provides a secure and SSR-compatible authentication layer with built-in support for cookies, tokens, middleware, composables, and optional Two-Factor Authentication (2FA).
Features
- 🔐 Authentication for Nuxt
- ⚡ Built for SSR and SPA
- 🍪 Secure HTTP-only cookie authentication (Sanctum)
- 🔑 OAuth2 token authentication (Passport)
- 🧩 Strategy-based architecture
- 🛡 Built-in CSRF protection
- 📦
$authinstance available globally - 🧠 Route middleware for protected pages
- 🔄 Automatic user fetching
- 🔑 Optional Two-Factor Authentication (2FA)
- 🪝 Extensible for future authentication providers
