Nuxt Auth
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
useAuthcomposable - Auto refresh of access token via
useAuthFetchcomposable - Add dynamic custom claims to access token
- Customizable email templates
- User session management via
useAuthSessioncomposable - 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.