Patrick Pimentel
fb40ec9419
Merge remote-tracking branch 'origin' into auth/pm-18720/change-password-component-non-dialog-v2
2025-05-13 15:22:11 -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
Patrick Pimentel
339ce4731a
Merge remote-tracking branch 'origin' into auth/pm-18720/change-password-component-non-dialog-v2
2025-05-12 11:07:47 -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
Patrick Pimentel
063835fae0
Merge remote-tracking branch 'origin' into auth/pm-18720/change-password-component-non-dialog-v2
2025-05-08 20:57:26 -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
Patrick Pimentel
23db16ac61
fix(change-password-component): Change Password Update [18720] - Putting a pause on it for now while other work gets done so I can properly hook into it.
2025-05-07 09:26:45 -04: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
rr-bw
5d547149ff
merge main, fix conflict
2025-04-28 20:03:59 -07:00
rr-bw
7d2a364d16
move sync to after checks
2025-04-28 12:34:48 -07:00
rr-bw
04272a2824
update 'submit logic' portion of storybook docs
2025-04-26 14:45:43 -07:00
rr-bw
8c7b4d788b
add jsdocs to ChangePasswordService
2025-04-26 12:11:17 -07:00
rr-bw
eb84a9b06c
update storybook stories and docs
2025-04-25 16:00:29 -07: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
rr-bw
7ee1122ae1
Merge branch 'main' into auth/pm-18458/create-change-existing-password-component
2025-04-24 22:24:37 -07:00
rr-bw
fbaa33eb32
initialize data before rendering InputPasswordComponent
2025-04-24 21:30:48 -07:00
rr-bw
fad4a5c158
increase test coverage of DefaultChangePasswordService
2025-04-24 16:01:56 -07:00
rr-bw
df8205f361
update DI of service
2025-04-24 13:49:44 -07:00
rr-bw
0389cf0044
update methods to throw on non-web clients
2025-04-24 12:23:08 -07: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
Bryan Cunningham
cbab354c0e
Hide bit-icon component from screen readers by default ( #14295 )
...
* adds aria-hidden to bit-icon when no aria-label provided
* add ariaLabel to logo svg usages
* add ariaLabel documentation
* default ariaLable value to undefined
* add logo label to translations
* adds i18n pipe to component
* Add binding to example docs
2025-04-18 10:38:19 -04:00
Todd Martin
88638c09b3
Fix(login): [PM-20287] Initialize login email state when email is remembered
2025-04-16 19:58:31 -04:00
rr-bw
8a0729e82f
pass down userId from SetPasswordJitComponent to InputPasswordComponent
2025-04-15 16:53:54 -07:00
rr-bw
240167328d
move service to libs/auth/angular and update DI
2025-04-15 14:50:25 -07:00
rr-bw
78c8a0c52f
update translation key
2025-04-15 13:51:29 -07:00
rr-bw
5e9c53f07b
update tests
2025-04-15 13:51:28 -07:00
rr-bw
62ce38392e
update Storybook and typing
2025-04-15 13:51:28 -07:00
rr-bw
447da626c5
update error handling
2025-04-15 13:51:28 -07:00
rr-bw
18f48439ca
simplify changePassword(...) parameters
2025-04-15 13:51:28 -07:00
rr-bw
634b8c2ed6
update tests
2025-04-15 13:51:27 -07:00
rr-bw
2bf88c5008
add a flow to InputPasswordFlow enum, and a method to verify the flow and presence of a userId
2025-04-15 13:51:27 -07:00
rr-bw
a1d53e9840
resolve rebase discrepancies
2025-04-15 13:51:27 -07:00
rr-bw
72f8debc50
update typing
2025-04-15 13:51:27 -07:00
rr-bw
1cd3fed5cb
update kdfConfig retrieval
2025-04-15 13:51:26 -07:00
rr-bw
d806ea2d31
update activeAccount retreival to happen just once
2025-04-15 13:51:26 -07:00
rr-bw
b0020c278b
make userId a component property on ChangePasswordComponent, and pass userId down to child InputPasswordComponent
2025-04-15 13:51:26 -07:00
rr-bw
f3ae574f46
simplify getting activeAccount userId and
...
email
2025-04-15 13:51:26 -07:00
rr-bw
2a976a0db2
update typing
2025-04-15 13:51:25 -07:00
rr-bw
f9892f295e
refactor rotateUserKey control and calling of setValue()
2025-04-15 13:51:25 -07:00
rr-bw
cc52fcc1e6
update newMasterKeyEncryptedUserKey creating in legacy performSubmitActions method
2025-04-15 13:51:25 -07:00
rr-bw
2e056a0f41
update @Input kdfConfig initial value
2025-04-15 13:51:25 -07:00
rr-bw
f52d5a171b
update documentation, variable naming
2025-04-15 13:51:24 -07:00