* [chore] updated services.module to use account services
* [refactor] sorted services provided by services.module
* [chore] removed references to deleted jslib services
* [chore] used activeAccount over storageService for account level storage items
* [chore] resolved linter warnings
* Refactor activeAccountService to stateService
* [bug] Remove uneeded calls to state service on logout
This was causing console erros on logout. Clearing of data is handled fully in dedicated services, clearing them in state afterwards is essentially a redundant call.
* [bug] Add back null locked callback to VaultTimeoutService
* Move call to get showUpdateKey
* [bug] Ensure HtmlStorageService does not override StateService options and locations
* [bug] Adjust theme logic to pull from the new storage locations
* [bug] Correct theme not sticking on refresh
* [bug] Add enableFullWidth to the account model
* [bug] fix theme option empty when light is selected
* [bug] init state on application start
* [bug] Reinit state when coming back from a lock
* [style] Fix lint complaints
* [bug] Clean state on logout
* [chore] Resolved merge issues
* [bug] Correct default for enableGravitars
* Bump angular to 12.
* Remove angular.json
* Bump rxjs
* Fix build errors, remove file-loader with asset/resource
* Use contenthash
* Bump jslib
* Bump ngx-toastr
* [chore] resolve issues from merge
* [chore] resolve issues from merge
* [bug] Add missing bracket
* Use newer import syntax
* [bug] Correct service orge
* [style] Fix lint complaints
* [chore] update jslib
* [review] Address code review
* [review] Address code review
* [review] Rename providerService to webProviderService
Co-authored-by: Robyn MacCallum <robyntmaccallum@gmail.com>
Co-authored-by: Hinton <oscar@oscarhinton.com>
I have a device that is blocking navigation (per chrome dev tools) on the success callback for reasons unknown. After comparing with the captcha connector (which works flawlessly), the only difference I can find is that captcha doesn't do anything else after `document.location.replace` for mobile. I'm not sure if this is the culprit but it can't hurt to try.
* Add captcha to login page
* pull out shared method
* Update parse parameter logic
* Load captcha
* responsive iframe height
* correct i18n
* site key provided by server
* Fix locale parsing
* Add optional success callbackUri
* Make captcha connector responsive
* Handle parameter versions in webauthn
* Move variables to top of script
* Add captcha to registration
* Move captcha above `<hr>` div to be part of input form
* Add styled mobile captcha connector
* Linter Fixes
* Remove duplicate import
* Use listener to load captcha
* PR review
* Update web sso content to indicate window OK to close
This is done after the authResult handoff message is delivered to the
extension. It is not possible to close the window from javascript as
closing a window is limited to the script that opened it.
If we maintain a reference to the web window, it should be possible to
subscribe to the authResult message and close the web windows from the
browser.
* Use i18n for close tab message
* delete cookie after it is used
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* WIP: dirty fix to SSO web vs browser redirect logic split
* Use includes for clientId identification
routing determination more robust to future state string changes
Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
Co-authored-by: Addison Beck <abeck@bitwarden.com>
* created and applied link-sso component
* implemented linking existing user to sso
* removed an unused import
* created and applied link-sso component
* implemented linking existing user to sso
* removed an unused import
* merge
* added a token to the sso linking flow
* [jslib] Update (5d874d0 -> 6ab444a) (#618)
* Update jslib (5d874d0 -> 6ab444a)
* Update dependency flows
* created and applied link-sso component
* implemented linking existing user to sso
* removed an unused import
* merge
* added a token to the sso linking flow
* implemented linking existing user to sso
* removed an unused import
* account for some variable shakeup in jslib for link sso
* updated jslib
* updated jslib
* still trying to fix jslib
* finally, really, truly updated jslib
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>