Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/becem-gharbi/nuxt-auth
Auth module for Nuxt
https://github.com/becem-gharbi/nuxt-auth
auth edge nuxt oauth2
Last synced: 9 days ago
JSON representation
Auth module for Nuxt
- Host: GitHub
- URL: https://github.com/becem-gharbi/nuxt-auth
- Owner: becem-gharbi
- License: mit
- Created: 2023-01-18T08:03:57.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-16T13:14:24.000Z (7 months ago)
- Last Synced: 2024-05-17T15:20:22.513Z (6 months ago)
- Topics: auth, edge, nuxt, oauth2
- Language: TypeScript
- Homepage: https://nuxt-auth.bg.tn
- Size: 3.61 MB
- Stars: 87
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Nuxt Auth
[![npm version][npm-version-src]][npm-version-href]
[![npm downloads][npm-downloads-src]][npm-downloads-href]
[![License][license-src]][license-href]
[![Nuxt][nuxt-src]][nuxt-href]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](https://github.com/becem-gharbi/nuxt-starter)## Installation
Add `@bg-dev/nuxt-auth` dependency to your project
```bash
npx nuxi module add @bg-dev/nuxt-auth
```## Documentation
The documentation website can be found [here](https://nuxt-auth.bg.tn).
## License
[MIT License](./LICENSE)
[npm-version-src]: https://img.shields.io/npm/v/@bg-dev/nuxt-auth/latest.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-version-href]: https://npmjs.com/package/@bg-dev/nuxt-auth
[npm-downloads-src]: https://img.shields.io/npm/dt/@bg-dev/nuxt-auth.svg?style=flat&colorA=18181B&colorB=28CF8D
[npm-downloads-href]: https://npmjs.com/package/@bg-dev/nuxt-auth
[license-src]: https://img.shields.io/npm/l/@bg-dev/nuxt-auth.svg?style=flat&colorA=18181B&colorB=28CF8D
[license-href]: https://npmjs.com/package/@bg-dev/nuxt-auth
[nuxt-src]: https://img.shields.io/badge/Nuxt-18181B?logo=nuxt.js
[nuxt-href]: https://nuxt.com