Patrick Pimentel
0e2d6f0a06
Merge remote-tracking branch 'origin' into auth/pm-18720/change-password-component-non-dialog-v3
2025-06-10 16:51:21 -06:00
Patrick Pimentel
2f100f76d5
feat(change-password-component): Change Password Update [18720] - The master password policy endpoint has been added! Should be working. Testing now.
2025-06-10 16:50:44 -06:00
Patrick Pimentel
bd13e3b4b5
feat(change-password-component): Change Password Update [18720] - Committing intermediate changes.
2025-06-09 09:30:48 -06:00
Patrick Pimentel
28da2c9615
feat(change-password-component): Change Password Update [18720] - Found a bug, working on password policy being present on login.
2025-06-05 15:24:43 -04:00
Bernd Schoolmann
509af7b7bd
[PM-20235] Disable login with device masterpasswordhash flow ( #14236 )
...
* Disable login with device masterpasswordhash flow
* Remove old test
* Fix tests
* Undo changes to cargo lock
2025-06-05 16:52:48 +00:00
Addison Beck
299976e55a
fix(eslint): extend tsconfig.base in tsconfig.eslint ( #15082 )
...
* fix(eslint): extend tsconfig.base in tsconfig.eslint
* fix(eslint): clean up new lint errors
2025-06-05 11:08:03 -04:00
Patrick Pimentel
2c7da3bb0f
feat(change-password-component): Change Password Update [18720] - Should be working fully
2025-06-04 14:55:49 -04:00
Patrick Pimentel
29748e152f
fix(change-password-component): Change Password Update [18720] - Wrapping up changes.
2025-06-04 10:28:44 -04:00
Oscar Hinton
8f74eaea1c
Remove standalone true from auth ( #15035 )
...
Remove standalone: true from every instance since it's the default as of Angular 19.
2025-06-04 09:22:37 -04:00
Patrick Pimentel
45bc4929a1
Merge remote-tracking branch 'origin' into auth/pm-18720/change-password-component-non-dialog-v3
2025-06-03 09:53:12 -04:00
Patrick Pimentel
db16cf0115
refactor(change-password-component): Change Password Update [18720] - Fixed up policy service to be made more clear.
2025-06-02 21:09:28 -04:00
Bernd Schoolmann
23ec6bacc9
[PM-20225] Prevent legacy users without userkey from logging in ( #14267 )
...
* Prevent legacy users without userkey from logging in
* Remove further web-migration code for legacy users
* Add i18n for legacy user error message
* Update comment
* Remove migrate legacy component
* Remove i18n messages
* Remove migrate legacy encryption reference
2025-06-02 23:56:29 +02:00
Addison Beck
26caeb3083
Implement and extend tsconfig.base across projects ( #14554 )
...
* Implement and extend tsconfig.base across projects
* fixup! Merge remote-tracking branch 'origin/main' into rename-tsconfig
* fix: import tsconfig.base from components
* fix: skip typechecking node modules
* fixing tests
* fix the tests for real
* undo accidentally change
2025-06-02 20:38:17 +00:00
Patrick Pimentel
14e9d35c62
Merge remote-tracking branch 'origin' into auth/pm-18720/change-password-component-non-dialog-v3
2025-06-02 14:54:34 -04:00
Oscar Hinton
2fbc4c1578
[CL-525] Upgrade angular to v19 ( #14815 )
...
Upgrade Angular to v19 using the update guide.
- Add `standalone: false` to any missed component in stories or tests.
- Update jest.config to follow the new best practices.
2025-06-02 13:13:31 -04:00
Patrick Pimentel
bb11db344f
feat(change-password-component): Change Password Update [18720] - Org invite is seemingly working, found one bug to iron out.
2025-05-30 10:40:27 -04:00
Patrick Pimentel
06039927bb
feat(change-password-component): Change Password Update [18720] - Small changes and added some clarification on where I'm blocked
2025-05-28 22:16:49 -04:00
Patrick Pimentel
2fc076bb3c
feat(change-password-component): Change Password Update [18720] - Small directive change.
2025-05-28 15:02:17 -04:00
Patrick Pimentel
1a77128529
feat(change-password-component): Change Password Update [18720] - Undid some changes because they will be conflicts later on.
2025-05-28 14:29:33 -04:00
Patrick Pimentel
fc16411e18
Merge remote-tracking branch 'origin' into auth/pm-18720/change-password-component-non-dialog-v3
2025-05-28 13:00:40 -04:00
Patrick Pimentel
ec81662dcf
feat(change-password-component): Change Password Update [18720] - Small fixes to the styling
2025-05-27 17:13:25 -04:00
Patrick Pimentel
7386fd8780
feat(change-password-component): Change Password Update [18720] - Tidied up code.
2025-05-27 16:24:17 -04:00
rr-bw
98e4551f70
fix(PasswordLoginStrategy): [Auth/PM-21913] Fix Weak MP Login Bug ( #14906 )
...
Adds an early `return` after receiving an `IdentityTwoFactorResponse`.
2025-05-23 12:02:01 -07:00
Patrick Pimentel
0be93fa65f
feat(change-password-component): Change Password Update [18720] - Pausing work for now while we wait for product to hear back.
2025-05-23 14:30:46 -04:00
Addison Beck
56a3b14583
Introduce eslint errors for risky/circular imports ( #14804 )
...
* first draft at an idea dependency graph
* ignore existing errors
* remove conflicting rule regarding internal platform logic in libs
* review: allow components to import from platform
2025-05-23 08:01:25 -04:00
Patrick Pimentel
913b7ec5d6
feat(change-password-component): Change Password Update [18720] - More extension work
2025-05-22 19:11:09 -04:00
Patrick Pimentel
227df2fc86
fix(change-password-component): Change Password Update [18720] - Updates to routing and the extension. Extension is still a wip.
2025-05-22 15:59:45 -04:00
Patrick Pimentel
0aedba8740
fix(policy-enforcement): [PM-21085] Fix Bug with Policy Enforcement - Made code more dry.
2025-05-22 11:37:14 -04:00
Patrick Pimentel
628fd3b8d4
fix(policy-enforcement): [PM-21085] Fix Bug with Policy Enforcement - Recover account working with change password component.
2025-05-21 20:01:56 -04:00
Patrick Pimentel
f45e2d7d8a
feat(change-password-component): Change Password Update [18720] - Very close to complete.
2025-05-21 14:55:31 -04:00
Ike
ae35cb4e65
[PM-20540] Deep-link refactor to fix SSO deep links ( #14587 )
...
* PM-20540 - TwoFactorAuthComponent - Refactor determineDefaultSuccessRoute to rely on user's auth status as the loginStrategyService's state is cleared after successful AuthN
* PM-20540 - DeepLinkGuard - Refactor to exempt login-initiated so that TDE + unlock with MP + deep link works.
* doc: Add documentation and change folder structure.
* test: add test for new excluded route.
---------
Co-authored-by: Jared Snider <jsnider@bitwarden.com >
2025-05-21 08:24:17 -04:00
Brandon Treston
be7214d765
remove feature flag logic ( #14841 )
2025-05-20 10:33:48 -04:00
Alec Rippberger
72cfc0bca1
fix(environment-urls): [PM-19890] [Defect][Extension] Environment URLs are removed ( #14821 )
...
* Return early to avoid setEnvironment
* Remove ts-strict-ignore and update typing
2025-05-19 15:14:12 -04:00
rr-bw
afbddeaf86
refactor(set-change-password): [Auth/PM-18458] Create new ChangePasswordComponent ( #14226 )
...
This PR creates a new ChangePasswordComponent. The first use-case of the ChangePasswordComponent is to place it inside a new PasswordSettingsComponent, which is accessed by going to Account Settings > Security.
The ChangePasswordComponent will be updated in future PRs to handle more change password scenarios.
Feature Flags: PM16117_ChangeExistingPasswordRefactor
2025-05-16 10:41:46 -07:00
Oscar Hinton
c8629b92d3
[CL-694] Remove unused imports ( #14795 )
...
* Remove unused imports
* Remove more unused imports
2025-05-16 17:11:18 +02:00
Justin Baur
07dc8808b2
Use sync option to skip token refresh after login ( #14581 )
2025-05-14 14:34:34 -04:00
Todd Martin
4c68f61d47
feat(CLI-SSO-Login): [Auth/PM-21116] CLI - SSO Login - Add SSO Org Identifier option ( #14605 )
...
* Add --identifier option for SSO on CLI
* Add option for identifier
* Moved auto-submit after the setting of client arguments
* Adjusted comment
* Changed to pass in as SSO option
* Renamed to orgSsoIdentifier for clarity
* Added more changes to orgSsoIdentifier.
2025-05-13 10:58:48 -04:00
Patrick-Pimentel-Bitwarden
0b0397c3f0
fix(enums-eslint): Enum Rule for ESLint ( #14650 )
...
* fix(enums-eslint): Enum Rule for ESLint - Added enums in the warnings for eslint.
* fix(enums-eslint): Enum Rule for ESLint - Updated to error in both places for enums.
* fix(enums-eslint): Enum Rule for ESLint - Added new eslint plugin for warning on enums.
* fix(enums-eslint): Enum Rule for ESLint - Changed based on suggestion.
Co-authored-by: Andreas Coroiu <acoroiu@bitwarden.com >
* refactor(browser-platform-utils): Remove Deprecation and Fix Code - Changed usages of firefox to private and moved the usages to the preferred public method and removed the deprecations.
* fix(enums-eslint): Enum Rule for ESLint - Updated to error and added disable rules for all other places.
* fix(enums-eslint): Enum Rule for ESLint - Undid other changes by accident
2025-05-13 10:07:38 -04:00
Todd Martin
b8074a6f73
chore(feature-flag): Remove pm-9112-device-approval-persistence ( #14718 )
2025-05-12 15:18:02 -04:00
Todd Martin
eed18c9294
chore(view-cache): [PM-21154] Move view-cache its own feature package and adjust imports
...
* Moved view-cache services to directory
* Fixed DI for browser extension.
* Fixed tests.
2025-05-12 14:26:52 -04:00
Todd Martin
4191bb9533
chore(captcha): [PM-15162] Remove handling of captcha enforcement and bypass token
...
* Removed captcha references.
* Removed connectors from webpack
* Fixed extra parameter.
* Resolve merge conflicts.
* Fixed extra argument.
* Fixed failing tests.
* Fixed failing test.
* Accessibility cookie cleanup
* Cleaned up accessibility component.
* Deleted old registration endpoint
* Remove unused register request object.
* Fixed merge error that changed font family.
* Fixed formatting from merge.
* Linting
2025-05-09 10:44:11 -04:00
Alec Rippberger
3030eb7552
[PM-19212] Consolidate password set routing to AuthGuard using ForceSetPasswordReason ( #14356 )
...
* Consolidates component routing, removing routing to update-temp-password from components. All routing to update-temp-password should happen in the AuthGuard now.
---------
Co-authored-by: Jared Snider <jsnider@bitwarden.com >
Co-authored-by: Todd Martin <tmartin@bitwarden.com >
2025-05-08 11:24:52 -05:00
Bernd Schoolmann
af40ff26a2
[PM-21001] Move auth code to new encrypt service interface ( #14542 )
...
* Add new encrypt service functions
* Undo changes
* Cleanup
* Fix build
* Fix comments
* Move auth code to new encrypt service interface
2025-05-05 16:50:06 +02:00
Thomas Avery
d43e4757df
[PM-7604] Require target UserID for KdfConfigService ( #14380 )
...
* Require userId for KdfConfigService
* Update auth team callers
* Update tools team callers
2025-04-29 17:25:27 -05:00
Todd Martin
29d0e74e23
fix(login): [PM-20587] Fix unawaited calls to set login email
...
* Await setting login email in state.
* Changed to get email state within the component.
* Added null filter
* PM-20587 - LoginViaAuthRequest component - update initStandardAuthRequestFlow to correctly retrieve data from active account.
---------
Co-authored-by: Jared Snider <jsnider@bitwarden.com >
2025-04-29 12:00:02 -04:00
Bernd Schoolmann
fd0db40f79
[PM-20492] Refactor symmetric keys - remove key buffer representation, migrate consumers to .toEncoded() ( #14371 )
...
* Refactor encrypt service to expose key wrapping
* Fix build
* Undo ts strict removal
* Fix wrong method being used to encrypt key material
* Rename parameters and remove todo
* Add summary to encrypt
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/abstractions/encrypt.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Add tests for unhappy paths
* Add test coverage
* Add links
* Remove direct buffer access
* Fix build on cli
---------
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
2025-04-25 19:26:39 +02:00
Alec Rippberger
ab7016fd6b
feat(auth): implement view data persistence in 2FA flows
...
Add persistence to two-factor authentication in the extension login flow. Implements caching of form state to improve user experience when navigating between authentication steps. Includes feature flag for controlled rollout.
2025-04-25 10:02:54 -05:00
Alec Rippberger
71e720e945
fix(auth): clarify 2FA security key verification text
...
Updates user interface text to improve clarity when prompting for security key verification during two-factor authentication.
Ref: PM-20055
2025-04-22 23:09:07 -05:00
Bernd Schoolmann
e231286f37
[PM-19731] Refactor encrypt service to expose key wrapping ( #14080 )
...
* Refactor encrypt service to expose key wrapping
* Fix build
* Undo ts strict removal
* Fix wrong method being used to encrypt key material
* Rename parameters and remove todo
* Add summary to encrypt
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/abstractions/encrypt.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/common/src/key-management/crypto/services/encrypt.service.implementation.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Add tests for unhappy paths
* Add test coverage
* Add links
---------
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
2025-04-22 13:56:39 +00:00
Bernd Schoolmann
43b1f55360
[PM-18697] Remove old symmetric key representations in symmetriccryptokey ( #13598 )
...
* Remove AES128CBC-HMAC encryption
* Increase test coverage
* Refactor symmetric keys and increase test coverage
* Re-add type 0 encryption
* Fix ts strict warning
* Remove old symmetric key representations in symmetriccryptokey
* Fix desktop build
* Fix test
* Fix build
* Update libs/common/src/key-management/crypto/services/web-crypto-function.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Update libs/node/src/services/node-crypto-function.service.ts
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
* Undo changes
* Remove cast
* Undo changes to tests
* Fix linting
* Undo removing new Uint8Array in aesDecryptFastParameters
* Fix merge conflicts
* Fix test
* Fix another test
* Fix test
---------
Co-authored-by: Thomas Avery <43214426+Thomas-Avery@users.noreply.github.com >
2025-04-21 14:57:26 +00:00