A fairly complete solution to handle authentication for your Nuxt project
- ✔️ 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
Add @bg-dev/nuxt-auth
dependency to your project
npx nuxi module add @bg-dev/nuxt-auth
The documentation website can be found here.