1Password / op-js

A JS library powered by the 1Password CLI
https://developer.1password.com/docs/cli
MIT License
91 stars 8 forks source link

Add setConnect function to set Connect Server details for auth #112

Closed jodyheavener closed 1 year ago

jodyheavener commented 1 year ago

Closes https://github.com/1Password/op-js/issues/77

This PR adds support for supplying Connect Server host and token.

All it's doing is applying them as env vars, and does not preclude the ability to set these values via env vars yourself.