Skip to content

instruqt auth login fails on headless machines #1

Description

@thesandlord

When trying to login to the Instruqt CLI on a machine without a GUI (for example, a cloud VM or Google Cloud Shell), the auth command fails:

$ instruqt auth login
==> Signing in to instruqt
==> Please open the following address in your browser and sign in with your Instruqt credentials:
==> http://localhost:15777/
    [ERROR] exec: "xdg-open": executable file not found in $PATH

Is there a flag or option to skip the xdg-open step? On Google Cloud Shell or an VM, it is easy to visit http://localhost:15777/ manually, so there is no need to auto-open a browser.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions