* ChangePassword - add TODOs to clean up code
* LoginComp - Add TODOs for identifying the login strategy ahead of time.
* DefaultOpaqueService - Add TODOs
* PasswordLoginStrategy - add TODO for renaming
* WIP first draft of opaque login strategy
* Per discussion with platform, we don't need an abstraction for api services so clean that up.
* Extract pre-login method into own service from ApiService + move request model to auth
* LoginStrategyService - add todo for adding support for opaque login strategy
* PreLoginApiService - add renaming todo
* LoginComp + PasswordLoginCredentials - (1) Start integrating pre-login logic into login comp (2) update PasswordLoginCredentials to include kdfConfig to pass into login strat
* LoginStrategyServiceAbstraction - login - add OpaqueLoginCredentials
* CLI - add todos
* LoginComp - add TODO
* Add createKdfConfig factory function
* LoginStrategyService: switch out to more specific password strategy
* Fix type errors
* Add jsdoc
* Revert / remove TODOs and old draft work
* add missing dep
* PreLoginResponse - Adjust KM import
* PreLogin renamed to PrePasswordLogin
* Renames + some login strategy service test updates
* LoginComp - remove unused import
* KdfConfig - Rename validateKdfConfigForPrelogin to validateKdfConfigForPreLogin
* LoginStrategyService - (1) Rename makePreloginKey to makePrePasswordLoginMasterKey (2) Refactor makePrePasswordLoginMasterKey to accept an optional KdfConfig so we can keep the logic tested on the LoginStrategyService
* LoginStrategyService - add TODOs
* Fix non-sdk build errors
---------
Co-authored-by: Thomas Rittson <trittson@bitwarden.com>
* migrate css classes
* remove bulk share dialog components and related modules and i18n keys
* Revert "remove bulk share dialog components and related modules and i18n keys"
This reverts commit 40060b6011.
Removes the V1 Login components and related UnauthenticatedExtensionUIRefresh
feature flag functions. Part of the authentication UI modernization efforts.
Closes PM-9678
The device management screen was incorrectly evaluating the truthiness of
DeviceView.type enum, causing "Invalid device data" errors when an Android
device (type = 0) was present. Changed the check to explicitly verify for
undefined values instead of truthy checks.
- Updated type checking to use explicit undefined checks
- Added translations for error messages
- Improved error handling with specific messages for missing data
Fixes PM-18757
* display inline information error message
* Add collection service
* Refactor the code
* Add a feature flag to the change
* Add the modal pop for free org
* Use custom error messages passed from the validator
* Add the js document
* Merge changes in main
* Add the changes after file movement
* remove these floating promises
* Adding unit test and seprating the validation
* fix the unit test request
* Remove the conditional statment in test
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.
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>
* remove min-width on body element for extension prompt page
* reset meta viewport content for extension prompt page
* set max width of svg to avoid any overflow on mobile devices
* use inline display to avoid icon overflow on mobile devices
* use max width on the icon to fix overflow rather than editing the anon layout
* 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.