Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateleo/nuxt-auth-lucia
https://github.com/mateleo/nuxt-auth-lucia
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mateleo/nuxt-auth-lucia
- Owner: Mateleo
- Created: 2024-09-10T17:19:34.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-11T15:26:41.000Z (4 months ago)
- Last Synced: 2024-09-12T00:15:43.224Z (4 months ago)
- Language: TypeScript
- Size: 117 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Nuxt-Auth-Lucia
This repo is based on [Pilcrow](https://github.com/pilcrowOnPaper/astro-email-password-webauthn) example but with Nuxt and Prisma. (WIP)
The goal is to implement the following:
- Password checks with HaveIBeenPwned ✅
- Frontend password strength check with zxcvbn
- Sign in with passkeys
- Email verification ✅
- Email verification rate limit ✅
- 2FA with TOTP
- 2FA recovery codes
- 2FA with passkeys and security keys
- Password reset without 2FA 🚧
- Password reset with 2FA
- Password reset rate limit## Initialize project
```
pnpm i
npx prisma migrate dev --name init
npm run dev
```### Nuxt 4?
I'm waiting for the mighty release to drop :D
### Password reset without 2FA
TODO: Rate-limit
TODO: Lucia cannot provide a session with custom lifetime session. Based on the copenhagen book, the session for a password reset should be about an hour.