* Add Boundary password as env variable. WIP
* Add Boundary password as env variable to the spawn process
* fix: 🐛 Fix token flag when connecting a target
Fix a token flag when connecting to a target. Now it uses an env
variable
* Add rest env variables to child processes
Co-authored-by: Carlos Alcaide Corvo <ccorvo@hashicorp.com>
* fix: 🐛 Update validateOrigin to throw error on bad request
If the result from netRequestPromise is successful but a not a 200
response, validateOrigin will throw an error
✅ Closes: ICU-4238
* Update ui/desktop/electron-app/src/models/runtime-settings.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
* refactor: 💡 Add comment as to why we don't throw error for 3xxs
* Update ui/desktop/electron-app/src/models/runtime-settings.js
Co-authored-by: Randall Morey <randall@randallmorey.com>
* Update ui/desktop/electron-app/src/models/runtime-settings.js
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Zhihe Li <zhihe.li@hashicorp.com>
Co-authored-by: Randall Morey <randall@randallmorey.com>
Additional cleanup: remove unused async calls, separate session and
associated manager models, & attempt encoding origin url as part of
sanitization for cli command