npm.io
3.1.1 • Published 3 months ago

@bg-dev/nuxt-auth

Licence
MIT
Version
3.1.1
Deps
7
Size
87 kB
Vulns
0
Weekly
0
Stars
91

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