@bg-dev/nuxt-auth

2,891 90
Install
npm install @bg-dev/nuxt-auth
Latest Version:3.1.1
Vue:3
License:MIT
Last Updated:Mar 11, 2026
Links: GitHub  ·  npm
Maintainer: bg-org

Nuxt Auth

npm version npm downloads License Nuxt

A fairly complete solution to handle authentication for your Nuxt project

Features

  • ✔️ Email/password authentication
  • ✔️ Email verification & password reset flows
  • ✔️ Oauth login (Google, Github ...)
  • ✔️ Route middleware protection
  • ✔️ Database agnostic
  • ✔️ Custom backend option
  • ✔️ Auth operations via useAuth composable
  • ✔️ Auto refresh of access token via useAuthFetch composable
  • ✔️ Add dynamic custom claims to access token
  • ✔️ Customizable email templates
  • ✔️ User session management via useAuthSession composable
  • ✔️ Edge deployment on Vercel, Netlify, Cloudflare ...
  • ✔️ Ready to use starter

Installation

Add @bg-dev/nuxt-auth dependency to your project

npx nuxi module add @bg-dev/nuxt-auth

Documentation

The documentation website can be found here.

License

MIT License

Related Packages

@drmhse/authos-vue

Pre-1.0 Vue and Nuxt adapter for AuthOS authentication

4,367 6
@authon/nuxt

Authon Nuxt 3 module — auto-imported composables and middleware

2,931 1

Version History

Version Released Vue License
3.1.1 ^3.0 MIT
3.1.0 ^3.0 MIT
3.0.3 ^3.0 MIT
3.0.2 ^3.0 MIT
3.0.1 ^3.0 MIT
Pre-releases (10)
Version Released Vue License
3.0.4-rc ^3.0 MIT
3.0.3-rc ^3.0 MIT
3.0.2-rc ^3.0 MIT
3.0.1-rc ^3.0 MIT
3.0.0-edge.6 ^3.0 MIT