nuxt-umbu

Authentication module simple for Nuxt.js
2,168
Install
npm install nuxt-umbu
Latest Version:0.0.9
Vue:3
License:MIT
Last Updated:Aug 11, 2026
Links: GitHub  ·  npm
Maintainer: 4slan

Nuxt Umbu

npm version npm downloads Documentation

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
  • 📦 $auth instance available globally
  • 🧠 Route middleware for protected pages
  • 🔄 Automatic user fetching
  • 🔑 Optional Two-Factor Authentication (2FA)
  • 🪝 Extensible for future authentication providers

Version History

Version Released Vue License
0.0.9 ^3.0 MIT
0.0.8 ^3.0 MIT
0.0.7 ^3.0 MIT
0.0.6 ^3.0 MIT
0.0.5 ^3.0 MIT