Skip to main content

vydon login

Overview

Learn how to login to vydon via the vydon login command.

The vydon login command is used to login to vydon through the CLI to generate an access token. This can then be utilized with other commands to perform authenticated requests to Vydon API.

Usage

vydon login

Running this command will open up a browser window and direct the user through the login flow that has been configured by the API.

If on success, an access token and (optionally) a refresh token will be saved to the filesystem in $VYDON_CONFIG_DIR.

Environment Variables

VariableDescriptionIs RequiredDefault Value
VYDON_API_URLThe base url of the Vydon API. This can be overridden to connect to different Vydon API environmentsfalsehttp://localhost:8080
VYDON_API_KEYThe api key for Vydon API.false
LOGIN_HOSTThe http server that is booted up running vydon login via an oauth flowfalse127.0.0.1
LOGIN_REDIRECT_HOSTThe redirect host that is sent alongside the oauth flow when running vydon loginfalse127.0.0.1
LOGIN_PORTThe port the http server runs on when running vydon loginfalse4242