openreplay/frontend/app
Shekar Siri 8eec6e983b
feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3177)
* feat(auth): implement withCaptcha HOC for consistent reCAPTCHA

This commit refactors the reCAPTCHA implementation across the application
by introducing a Higher Order Component (withCaptcha) that encapsulates
captcha verification logic. The changes:

- Create a reusable withCaptcha HOC in withRecaptcha.tsx
- Refactor Login, ResetPasswordRequest, and CreatePassword components
- Extract SSOLogin into a separate component
- Improve error handling and user feedback
- Standardize loading and verification states across forms
- Make captcha implementation more maintainable and consistent

* feat(auth): support msaas edition for enterprise features

Add msaas to the isEnterprise check alongside ee edition to properly
display enterprise features. Use userStore.isEnterprise in SSOLogin
component instead of directly checking authDetails.edition for
consistent
enterprise status detection.
2025-03-19 14:36:56 +01:00
..
assets ui: fix rm unused assets 2025-03-14 13:31:09 +01:00
components feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3177) 2025-03-19 14:36:56 +01:00
constants Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
dev Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
duck/components Backend logs UI (#2635) 2024-10-29 15:15:28 +01:00
hooks Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
init Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
layout fixed sessions layout (#3138) 2025-03-12 09:21:16 +01:00
locales add few locales (#3151) 2025-03-13 10:08:08 +01:00
logger Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
lottie Ai cards (#2450) 2024-08-02 14:38:56 +02:00
mstore feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3177) 2025-03-19 14:36:56 +01:00
player ui: fix filekey on prefetched sessions 2025-03-14 17:30:00 +01:00
player-ui Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
services feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3177) 2025-03-19 14:36:56 +01:00
styles Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
svg ui: improve metadata display 2025-03-11 10:35:08 +01:00
theme Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
types Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
utils Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
AdditionalRoutes.tsx Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
api_client.ts Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
date.ts Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
dateRange.js Add lokalisation (#3105) 2025-03-07 11:18:12 +01:00
declaration.d.ts Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
i18n.js Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
iconNames.js Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
IFrameRoutes.tsx Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
initialize.js Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
initialize.tsx Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
local_storage.js Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
PrivateRoutes.tsx change(ui): tabl loader 2025-03-12 14:41:33 +01:00
PublicRoutes.tsx Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
Router.tsx Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
routes.ts Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
validate.js Add lokalisation (#3092) 2025-03-06 17:43:15 +01:00
validate.test.js fix(ui): elastic config host validation 2024-01-19 14:55:36 +01:00
withRecaptcha.tsx feat(auth): implement withCaptcha HOC for consistent reCAPTCHA (#3177) 2025-03-19 14:36:56 +01:00