Alec Rippberger
3668fed7b4
Update naming for consistency
2025-04-10 15:41:12 -05:00
Alec Rippberger
92797c99c7
Rename to remove "view" and "default"
2025-04-10 15:35:19 -05:00
Alec Rippberger
116c4ec5ed
Move TwoFactorFormView into service and rename to remove "view" and "form"
2025-04-10 15:22:52 -05:00
Alec Rippberger
42a4b081d1
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-04-09 09:16:43 -05:00
rr-bw
a4040b6b6b
refactor(set-change-password): [Auth/PM-17649] Move CompareInputs Validator ( #14173 )
...
This PR
- Moves the `compareInputs` validator to `libs/auth` (with some minor updates to the validator)
- Adds unit tests for `compareInputs`
- Removes the deprecated input validators from `InputsFieldMatch` along with the `inputs-field-match.validator.ts` file
2025-04-08 12:42:41 -07:00
Alec Rippberger
40e9b6ad76
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-04-08 10:06:37 -05:00
rr-bw
81350a2ee1
Revert "refactor(set-change-password): [Auth/PM-17649] Move and test compareI…" ( #14171 )
...
This reverts commit ecb4b2d0b7 .
2025-04-07 18:34:35 -07:00
rr-bw
ecb4b2d0b7
refactor(set-change-password): [Auth/PM-17649] Move and test compareInputs validator ( #13553 )
...
- Move the `compareInputs` validator to `libs/auth`
- Add tests for the `compareInputs` validator
- Delete the deprecated `InputsFieldMatch` class (inputs-field-match.validator.ts)
2025-04-07 15:04:24 -07:00
rr-bw
2267876860
refactor(set-change-password): [Auth/PM-18206] Update InputPasswordComponent to handle multiple flows ( #13745 )
...
Updates the InputPasswordComponent so that it can eventually be used in multiple set/change password scenarios.
Most importantly, this PR adds an InputPasswordFlow enum and @Input so that parent components can dictate which UI elements to show.
2025-04-07 11:58:50 -07:00
Alec Rippberger
331fcce3fe
Merge branch 'auth/pm-9115/implement-view-data-persistence-in-2FA-flows' of https://github.com/bitwarden/clients into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-04-07 11:02:54 -05:00
Alec Rippberger
6593912ddd
Fix tests
2025-04-07 11:02:41 -05:00
Alec Rippberger
782e33c91d
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-04-07 10:51:18 -05:00
Alec Rippberger
7adc4eaee5
Refactor TwoFactorFormCacheService
2025-04-07 10:42:21 -05:00
Patrick-Pimentel-Bitwarden
1af8fe2012
feat(device-approval-persistence): [PM-19380] Device Approval Persistence ( #13958 )
...
* feat(device-approval-persistence): [PM-19380] Device Approval Persistence - Added lookup on standard auth requests.
* fix(device-approval-persistence): [PM-19380] Device Approval Persistence - Fixed issue with null value trying to be parsed from the fromJSON function.
---------
Co-authored-by: Todd Martin <tmartin@bitwarden.com >
2025-04-04 15:44:48 -04:00
Alec Rippberger
f31240971d
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-04-03 13:28:24 -05:00
Bernd Schoolmann
1450a033b3
[PM-19469] Add logs for unlock time ( #13972 )
...
* Add logs for unlock time
* Undo local flag override
* Update message
* Update messages
* Fix build on chrome
2025-04-02 23:19:53 +02:00
Will Martin
76cb3fd38d
[CL-623] export CDK dialog deps from libs/components ( #14074 )
...
* add cdk dialog deps to CL dialog barrel file
* find and replace cdk dialog import
* run prettier
2025-04-02 15:08:38 -04:00
Alec Rippberger
8563bc8983
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-31 14:26:53 -05:00
Bernd Schoolmann
22039d038d
[PM-3475] Remove deprecated keys ( #13266 )
...
* Remove deprecated keys
* Fix cli build
* Fix build
2025-03-31 16:58:02 +02:00
Alec Rippberger
4c7684bc5e
Remove unnecessary conditionals
2025-03-29 15:20:10 -05:00
Alec Rippberger
c814a2e378
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-29 07:48:55 -05:00
Jason Ng
66a914badf
[PM-19654] add hideIcon option to extension anon layout ( #14045 )
2025-03-28 15:50:30 -04:00
Alec Rippberger
7d4c3e3c57
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-25 15:42:31 -05:00
Brandon Treston
0fd01ed7ee
[PM-18566] Wire up vNextPolicyService for Clients ( #13678 )
...
* wire up vNext impl
* wire up vNextPolicyService for browser
* wire up vNextPolicyService for desktop
* wire up vNextPolicyService for cli
* fix test
* fix missed caller
* cleanup
* fix missing property assignment
* fix QA bug for PM-19205
* fix QA bug for PM-19206
* fix QA bug for pm-19228
* cleanup
2025-03-25 11:30:47 -04:00
Alec Rippberger
b49fd01094
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-21 16:50:28 -05:00
Patrick-Pimentel-Bitwarden
841e5980d7
fix(device-approval-login): [PM-19379] Approve Device Login - Fix the call so that it works when not in a TDE scenario. ( #13934 )
2025-03-21 10:22:37 -04:00
Alec Rippberger
eb31561f06
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-20 15:58:22 -05:00
Patrick-Pimentel-Bitwarden
2e0c991f83
fix(device-approval-persistence): [PM-9112] Device Approval Persistence ( #13680 )
...
* feat(device-approval-persistence): [PM-9112] Device Approval Persistence - Added in view cache data needed to persist the approval process. Clears after 2 minutes.
2025-03-19 19:26:10 +00:00
Alec Rippberger
edadfcdb93
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-18 15:46:38 -05:00
Thomas Avery
a11536a424
[PM-17668] Move DeviceTrustService to KM ownership ( #13194 )
...
* move DeviceTrustService to KM ownership
* update codecov
2025-03-17 12:02:44 -05:00
Alec Rippberger
e42ae9f410
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-17 09:27:56 -05:00
Thomas Avery
81335978d8
[PM-17669] Move MasterPasswordService to KM ( #13148 )
...
* Move MasterPasswordService to KM
2025-03-13 13:29:27 -05:00
Thomas Avery
7e96b7a9a6
[PM-17670] Move KeyConnectorService to KM ownership ( #13277 )
...
* Move KeyConnectorService to KM ownership
* Add to codecov
* Move key connector request models
2025-03-13 09:46:01 -05:00
Jared Snider
cff14ffea3
fix(Extension2FAWebAuthn): [Auth/PM-19086] Read webauthn response off correct property ( #13796 )
2025-03-13 09:39:04 -04:00
Alec Rippberger
beaf88d01e
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-12 17:19:23 -05:00
rr-bw
e268055dc1
feature(set-change-password): [Auth/PM-17648] Create MasterPasswordApiService ( #13552 )
...
Creates a MasterPasswordApiService to house our API calls related to setting and changing a master password.
2025-03-12 11:33:44 -07:00
Alec Rippberger
227cd9cf09
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-11 11:28:01 -05:00
Patrick-Pimentel-Bitwarden
3b9be21fd7
fix(auth-routing): [PM-19018] SSO TDE Routing Fix - Fixed routing logic. ( #13778 )
...
* fix(auth-routing): [PM-19018] SSO TDE Routing Fix - Fixed routing logic.
* PM-19018 - TwoFactorAuthTests - remove tests that are no longer applicable as 2FA comp isn't responsible for setting admin account recovery flag into state.
* PM-19018 - LoginStrategyTests - add test for processing forcePasswordReset response
---------
Co-authored-by: Jared Snider <jsnider@bitwarden.com >
2025-03-10 21:20:11 -04:00
rr-bw
0568a09212
refactor(device-trust-toasts): [Auth/PM-11225] Refactor Toasts from Auth Services ( #13665 )
...
Refactor toast calls out of auth services. Toasts are now triggered by an observable emission that gets picked up by an observable pipeline in a new `DeviceTrustToastService` (libs/angular). That observable pipeline is then subscribed by by consuming the `AppComponent` for each client.
2025-03-10 12:17:46 -07:00
rr-bw
d943f53477
refactor(routing): [Auth/PM-18783] Remove Unauth UI route swapping for all components except 2FA ( #13645 )
...
Removes `unauthUiRefreshSwap()` from all routing modules for all refreshed components except for 2FA. This does not remove the legacy components themselves, just the routing to them.
---------
Co-authored-by: Todd Martin <tmartin@bitwarden.com >
2025-03-10 11:12:02 -07:00
Alec Rippberger
ddf196b79b
Merge branch 'main' into auth/pm-9115/implement-view-data-persistence-in-2FA-flows
2025-03-10 10:55:38 -05:00
Thomas Rittson
ef72f513b1
eslint: report unused disable directives ( #13463 )
...
Remove any unused disable directives and FIXMEs in our code
2025-03-10 09:33:08 -04:00
Todd Martin
895b36a3d8
[PM-18945] Add CLI as valid SSO client ( #13723 )
...
* Added CLI as valid SSO client.
* Updated SsoClientType
2025-03-07 18:30:28 -05:00
Ike
c739a884b4
[PM-15015] Adding Request Country Name to auth requests approval dialog ( #13718 )
...
* feat(pm-15015) :
- Adding `requestCountryName` to auth requests dialogs, and response models.
- Updated i18n messages.json in Web, Browser, and Desktop to include "Location" translation.
2025-03-07 18:03:13 -05:00
Jared Snider
264ceaa82a
fix(NewDeviceVerification): [Auth/PM-18641] Show translated invalid code error on enter keypress ( #13740 )
2025-03-07 12:56:21 -05:00
Jared Snider
5588e1a1a1
fix(auth): Auth/pm 18836 - UI Refresh - Chrome extension - WebAuthn 2FA revert inline iframe for chromium ( #13709 )
...
* PM-18836 - (1) Extension Two Factor Webauthn - revert supporting inline webauthn 2fa as it doesn't work outside of local still (2) Extension 2FA Webauthn comp - add log of webauthn errors to help diagnose future issues
* PM-18836 - Extension - Services module - ExtensionTwoFactorAuthWebAuthnComponentService - remove unused dep
2025-03-06 11:49:49 -08:00
Alec Rippberger
4dda8c4c59
Updating language to be more consistent
2025-03-05 08:15:09 -06:00
Alec Rippberger
a205892dcb
Add and fix tests
2025-03-04 22:18:25 -06:00
Alec Rippberger
5823f4c849
Ensure email is sent if there is only 1 provider
2025-03-04 18:44:56 -06:00
Alec Rippberger
6ab56027f2
Make remember cache consistent with token cache and clear in all scenarios
2025-03-04 18:42:46 -06:00