One time password

TOTP implementation (incomplete. Token is generated, but not verified.)
This commit is contained in:
Rodrigo Pinto 2024-11-24 01:23:54 -03:00
commit ec1ed9e487
9 changed files with 307 additions and 60 deletions

View file

@ -24,6 +24,7 @@
"vitest": "^2.0.4"
},
"dependencies": {
"otplib": "^12.0.1"
"otpauth": "^9.3.5",
"qrcode": "^1.5.4"
}
}