1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
Chad Scharf
abb54f0073 Add normalized state compare for CLI (#211) 2020-11-23 16:45:09 -05:00
Oscar Hinton
9e4d000b4d Browser <-> desktop communication (#185)
* Add electron constant for browser integration

* Add constant for browser biometrics. Ensure biometry is locked on lock.

* Avoid saving keys outside desktop

* Fix eslint warning

* Add supportsSecureStorage helper to platformUtils to improve readability
2020-11-18 16:10:57 -05:00
Addison Beck
79b856cb6e Implement User-based API Keys (#197)
* 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>
2020-11-10 15:15:40 -05:00
Kyle Spearrin
5cb3e9c965 implement launchUri function (#177) 2020-09-23 11:49:16 -04:00
Kyle Spearrin
bffec57e02 change to environmentService.getWebVaultUrl (#162) 2020-09-03 10:35:24 -04:00
Vincent Salucci
42d5784ef3 [SSO] Set Password flow sync (#159)
* Added sync service to set-password // Added error for CLI in set-password flow

* Updated error string // added sync tracking boolean

* VS code failed to saved latest change - resaving false loading
2020-08-27 13:24:38 -05:00
Kyle Spearrin
bc31867e1a allow login command clientid from ctor 2020-08-04 08:50:13 -04:00
Kyle Spearrin
7d49902eea SSO login for generic clients and CLI (#140)
* sso

* move break into try block

* make client id dynamic

* clientId is a string, DOH!

* reject if port not available

* lint fixes
2020-08-03 15:24:26 -04:00
Oscar Hinton
c62f5287cd Desktop biometrics support (#119)
* Initial work on windows hello support

* Switch to use windows.security.credentials.ui UserConsentVerifier

* Fix linting warnings

* Remove unessesary supportsBiometric from lock screen

* Rename biometric.main to windows.biometric.main. Add abstraction for biometric.

* Add support for dynamic biometric text.

* Add untested darwin implementation

* Rename fingerprintUnlock to biometric

* Add new functions to cliPlatformUtils.service.ts.

* Hide login if biometric is not supported

* Export default for biometric.*.main.ts

* Remove @nodert-win10-rs4/windows.security.credentials

* Add build requirements to readme

* Auto prompt biometric when starting the application.

* Ensure we support biometric before trying to auto prompt.

* Fix review comments and linting errors
2020-07-23 13:32:20 -04:00
Pasi Niemi
fb7335b927 Enable alternative ways for settings passwords (#101)
* Enable alternative ways for settings passwords:
* the environment variable BW_PASSWORD
* prefix the command line argument with "file:" and the password will read from the first line of that file
* prefix the command line argument with "env:" and the password will be read from that environment variable

* Appveyor fixes

* Switch to using command options for password file and password env

* Lowercase options
2020-05-08 10:38:28 -04:00
Kyle Spearrin
b816ddddff only block interaction if env var set 2020-03-12 15:37:21 -04:00
Kyle Spearrin
57e49207e9 NOINTERACTION option checks 2019-10-21 16:04:33 -04:00
Kyle Spearrin
8ab36db5c6 add ids to data when erroring with multipleResults 2019-10-21 13:51:48 -04:00
Kyle Spearrin
ae37c2198b isViewOpen returns promise 2019-08-20 13:47:15 -04:00
Kyle Spearrin
a1823f9931 write failed responses to stderr 2019-06-04 21:03:15 -04:00
Kyle Spearrin
bc475a668e always show raw if requested 2019-03-19 09:07:40 -04:00
Kyle Spearrin
d4c2b20a25 shared login and logout commands 2019-03-18 10:33:29 -04:00
Kyle Spearrin
b5b4222b32 base cli program 2019-03-16 11:26:31 -04:00
Kyle Spearrin
13a160fb79 move shared CLI items to jslib 2019-03-15 22:33:19 -04:00