Commit Graph

7 Commits

Author SHA1 Message Date
sharath 7b66d6d58c
fix(auth): disable phone verification requirement for new users 2025-07-22 10:58:32 +00:00
sharath f5395e3e3b
feat(auth): enhance MFA logging with structured context 2025-07-20 17:38:19 +00:00
sharath dede5564bb
fix(auth): refine phone verification requirement logic 2025-07-20 17:32:56 +00:00
sharath 1eb148821b
chore(auth): remove unused phone input styles 2025-07-20 17:19:48 +00:00
sharath 79a056be60
feat(auth): add environment-based phone verification requirement
- Introduced a new function to determine if phone verification is mandatory based on an environment variable.
- Updated the logic in the authentication assurance level check to reflect the new phone verification requirement for new users.
- Enhanced logging to provide clearer insights into phone verification status during authentication checks.

This update improves the flexibility of phone verification requirements based on deployment configurations.
2025-07-20 17:01:13 +00:00
sharath 0765c728ae
feat(auth): add phone verification
- Updated phone verification API to support SMS-based 2FA, allowing users to enroll and verify their phone numbers.
- Introduced new components for background AAL checking and status display, improving user experience during authentication.
- Removed the deprecated PhoneVerificationGuard component and integrated its functionality into the new AALChecker and BackgroundAALChecker components.
- Updated React Query hooks for managing phone verification and AAL states, ensuring efficient data handling and cache management.
- Enhanced frontend layout to accommodate new verification flows and improve overall responsiveness.

This update strengthens account security by enforcing phone verification for new users and streamlining the MFA process.
2025-07-19 21:49:52 +00:00
sharath a332cf9a31
feat(2fa): implement phone verification feature with MFA support
- Added phone verification endpoints for TOTP-based multi-factor authentication in the backend.
- Created frontend components for phone input and OTP verification.
- Integrated phone verification guard to ensure users complete verification before accessing the app.
- Updated API routes and React Query hooks for managing phone verification status and actions.

This feature enhances account security by requiring users to verify their phone numbers.
2025-07-19 15:14:55 +00:00