iachat/app/javascript/dashboard/api
Tanmay Deep Sharma 4014a846f0
feat: Add the frontend support for MFA (#12372)
FE support for https://github.com/chatwoot/chatwoot/pull/12290
## Linear:
- https://github.com/chatwoot/chatwoot/issues/486

## Description
This PR implements Multi-Factor Authentication (MFA) support for user
accounts, enhancing security by requiring a second form of verification
during login. The feature adds TOTP (Time-based One-Time Password)
authentication with QR code generation and backup codes for account
recovery.

## Type of change

- [ ] New feature (non-breaking change which adds functionality)

## How Has This Been Tested?

- Added comprehensive RSpec tests for MFA controller functionality
- Tested MFA setup flow with QR code generation
- Verified OTP validation and backup code generation
- Tested login flow with MFA enabled/disabled

## Checklist:

- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my code
- [ ] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Pranav <pranav@chatwoot.com>
Co-authored-by: iamsivin <iamsivin@gmail.com>
Co-authored-by: Sivin Varghese <64252451+iamsivin@users.noreply.github.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Sojan Jose <sojan@pepalo.com>
2025-09-18 21:16:06 +05:30
..
captain feat: allow searching captain responses [CW-5631] (#12463) 2025-09-18 14:44:56 +05:30
channel feat: add reauth flow for wa embedded signup (#11940) 2025-08-08 01:48:45 +05:30
enterprise feat: Ability to delete account for administrators (#1874) 2025-04-03 10:41:39 +05:30
helpCenter feat(cloud): Add support for viewing status of SSL in custom domains (#12011) 2025-07-30 10:52:47 -07:00
inbox feat: Add conversation delete feature (#11677) 2025-06-05 15:53:17 -05:00
integrations feat: Add activity messages for linear actions (#11654) 2025-06-13 11:57:11 +05:30
specs feat: Agent capacity policy index page with CRUD actions (#12409) 2025-09-12 16:22:42 +05:30
account.js
accountActions.js
agentBots.js feat: Ability to reset api_access_token (#11565) 2025-05-29 14:42:13 +05:30
agentCapacityPolicies.js feat: Agent capacity policy index page with CRUD actions (#12409) 2025-09-12 16:22:42 +05:30
agents.js
ApiClient.js
assignableAgents.js
assignmentPolicies.js feat: Agent assignment policy index page with CRUD actions (#12373) 2025-09-10 12:07:21 +05:30
attributes.js
auditLogs.js
auth.js fix: Prevent display_name reset when updating password (#10374) 2025-06-11 19:05:30 -04:00
automation.js
bulkActions.js
CacheEnabledApiClient.js
campaigns.js
cannedResponse.js
channels.js
contactNotes.js
contacts.js feat: Show active Contacts (#8243) 2025-06-04 21:52:13 +05:30
conversations.js
csatReports.js
customRole.js chore: Custom Roles to manage permissions [ UI ] (#9865) 2024-09-17 11:40:11 -07:00
customViews.js
dashboardApps.js
endPoints.js fix: Prevent display_name reset when updating password (#10374) 2025-06-11 19:05:30 -04:00
inboxes.js feat: Add manual WhatsApp templates sync with UI (#12007) 2025-07-23 12:22:51 +04:00
inboxMembers.js
integrations.js feat(apps): Shopify Integration (#11101) 2025-03-19 15:37:55 -07:00
labels.js
liveReports.js feat: Add live report for teams (#10849) 2025-03-12 16:03:09 -07:00
macros.js
mfa.js feat: Add the frontend support for MFA (#12372) 2025-09-18 21:16:06 +05:30
notifications.js
notificationSubscription.js
notion_auth.js feat: notion OAuth setup (#11765) 2025-06-26 19:16:06 +05:30
reports.js feat: Allow users to see heatmap for last 30 days (#10848) 2025-02-19 14:54:15 -08:00
samlSettings.js feat: SAML UI [CW-2958] (#12345) 2025-09-15 19:33:54 +05:30
search.js feat: allow searching articles in omnisearch (#11558) 2025-05-28 13:50:50 +05:30
sla.js
slaReports.js
summaryReports.js feat: label reports overview (#11194) 2025-06-11 14:35:46 +05:30
teams.js
userNotificationSettings.js
webhooks.js