vultr / vultr-cli

Official command line tool for Vultr services
Apache License 2.0
469 stars 75 forks source link

[BUG] - Config file isn't being used to authenticate #429

Closed optik-aper closed 4 months ago

optik-aper commented 4 months ago

Describe the bug The default config file isn't being read in and used to authenticate.

To Reproduce Steps to reproduce the behavior:

  1. Create the default config file ~/.vultr-cli.yaml and add the API key
  2. Try to use a command and you'll get oauth2: token expired and refresh token is not set
  3. But if you export it as an environment variable, it works.

    • Version 3.0.2