typesafehub / conductr-cli

CLI for Lightbend ConductR
Other
16 stars 21 forks source link

Prompt for the auth token when invalid #497

Closed huntc closed 6 years ago

huntc commented 7 years ago

In the situation where the following occurs:

$ conduct load-license 
Error: Your credentials are no longer valid. Please visit https://www.lightbend.com/account/access-token to renew them.

... we should perhaps overwrite the credentials from ~/.lightbend/auth-token. Not doing so prevents a new auth token from being applied. The above scenario should cause a prompt for the new auth token.

longshorej commented 6 years ago

conduct load-license -f is the solution to this.