feat: Implement two-factor authentication (2FA) with dedicated endpoints for setup, enabling, disabling, verification, and backup code management.

This commit is contained in:
pradeepkumar
2026-02-06 09:30:12 +05:30
parent ea05e18c15
commit 750cb55764
10 changed files with 989 additions and 19 deletions

View File

@@ -82,12 +82,14 @@
"pg": "^8.16.3",
"pino-http": "^11.0.0",
"prisma": "^7.2.0",
"qrcode": "^1.5.4",
"redis": "^5.10.0",
"reflect-metadata": "^0.2.2",
"rxjs": "^7.8.1",
"sharp": "^0.34.5",
"slugify": "^1.6.6",
"socket.io": "^4.8.1",
"speakeasy": "^2.0.0",
"stripe": "^20.1.0",
"uuid": "^13.0.0",
"winston": "^3.19.0",
@@ -109,6 +111,8 @@
"@types/passport-google-oauth20": "^2.0.17",
"@types/passport-jwt": "^4.0.1",
"@types/pg": "^8.16.0",
"@types/qrcode": "^1.5.6",
"@types/speakeasy": "^2.0.10",
"@types/supertest": "^6.0.2",
"autocannon": "^8.0.0",
"eslint": "^9.18.0",