The motivation for this is https://github.com/bitwarden/cli/issues/129
where failed sync's are swallowed by try-catch. By moving the try-catch
to the outside it is possible to reuse the already existing
allowThrowOnError argument which callers can use to signal whether
fullSync should throw or ignore errors silently. This patch is
companioned with a patch to the SyncCommand CLI command to pass
allowThrowOnError.
This is in conjunction with API changes that validates the last known
revision date provided here with the actual last revision date on the
server to block potential data loss due to client desyncs.
Co-authored-by: Matt Gibson <mdgibson@Matts-MBP.lan>
* Fixed import for HttpsProxyAgent
* Try this fix again?
* One more effort, otherwise need to revert
* Syntax error
* Lint error fix
* revert https-proxy-agent version
* Added support for authenticating with an API key
* added api service methods for user api keys
* fixed a copy/pasted api endpoint url
* Let toIdentityToken() use a a prestored client_id in place of the application client_id if one exists
* Allowed for api key auth in the cli
* Removed some commented out code commited for apiKey auth
* Cleanup for ApiKey auth in the CLI
* Removed cli prefix from client_crendential auth types
* Removed ClientPrefix conditional from decoded token getters
* Update src/services/api.service.ts
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
* formatting
* changed command from login --apiKey to login --apikey
Co-authored-by: Kyle Spearrin <kspearrin@users.noreply.github.com>
* send work
* New method to update the last used index (#184)
Instead of updating it every time you call getNext(), it will be updated in a separate call, to avoid updating the index when the cipher did not auto-fill correctly (e.g wrong frame)
Fixes#1392
* added OnlyOrg to PolicyType enum (#183)
* [Require SSO] Add policy type enumeration (#186)
* Added SsoAuthentication policy type
* Updated policy type name // added comments for clarification of what each type controls
* [SSO] New user provision flow (#173)
* Initial commit of new user sso flow
* Adjusted stateSplit conditional per review
* Add logging to lowdb storage service (#188)
* Fix lint errors/warnings (#187)
* remove password api
* access id
* makeSendKey
Co-authored-by: Josep Marí <xusoo@users.noreply.github.com>
Co-authored-by: Addison Beck <abeck@bitwarden.com>
Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com>
Co-authored-by: Chad Scharf <3904944+cscharf@users.noreply.github.com>
Instead of updating it every time you call getNext(), it will be updated in a separate call, to avoid updating the index when the cipher did not auto-fill correctly (e.g wrong frame)
Fixes#1392
This will allow users to launch the Remote Desktop client directly from
Bitwarden if their OS supports the URI scheme.
Per
https://docs.microsoft.com/en-us/windows-server/remote/remote-desktop-services/clients/remote-desktop-uri,
rdp:// is legacy and ms-rd: is the preferred one. I'm adding both so
that either can be used as ms-rd: is not available on all versions of
Windows and rdp:// is easier to add as a custom URI scheme in Windows 10
if it is desired.
* facilite linking an existing user to an org sso
* fixed a broken import
* added ssoBound and identifier to an org model
* added user identifier to sso callout url
* changed url for delete sso user api method
* facilite linking an existing user to an org sso
* fixed a broken import
* added ssoBound and identifier to an org model
* added user identifier to sso callout url
* changed url for delete sso user api method
* added a token to the existing user sso link flow
* facilite linking an existing user to an org sso
* fixed a broken import
* facilite linking an existing user to an org sso
* fixed a broken import
* added ssoBound and identifier to an org model
* added user identifier to sso callout url
* changed url for delete sso user api method
* added a token to the existing user sso link flow
* facilite linking an existing user to an org sso
* fixed a broken import
* removed an extra line
* encoded the user identifier on sso link
* code review cleanup for link sso
* removed a blank line