* 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>
* 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