As noticed by @shcheklein , even if we are in CI, we will still try to launch a webserver and will be waiting for the user to complete auth through the web page.
We could create an env var to make it fail (or use CI env var in addition/instead), but it seems to be enough to just fail if stdout is not a tty instead.
As noticed by @shcheklein , even if we are in CI, we will still try to launch a webserver and will be waiting for the user to complete auth through the web page.
We could create an env var to make it fail (or use
CI
env var in addition/instead), but it seems to be enough to just fail if stdout is not a tty instead.Alternative ideas are also welcome.