Skip to content

auth: LocalWebserverAuth: fail if in non-interactive mode #319

Closed
@efiop

Description

@efiop

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions