box / boxcli

A command line interface for interacting with the Box API.
https://developer.box.com
Apache License 2.0
222 stars 59 forks source link

box login error #363

Closed hubentu closed 2 years ago

hubentu commented 2 years ago

Hi,

I try to follow the quick-start to login with CLI, but got the following error. Could you please help?

$ box login If you are not using the quickstart guide to set up (https://developer.box.com/guides/tooling/cli/quick-start/) then go to the Box Developer console (https://cloud.app.box.com/developers/console) and:

  1. Select an application with OAuth user authentication method. Create a new Custom App if needed.
  2. Click on the Configuration tab and set the Redirect URI to: http://localhost:3000/callback. Click outside the input field.
  3. Click on Save Changes. ? What is the OAuth Client ID of your application? c8xxxxxx ? What is the OAuth Client Secret of your application? pixxxxxxx Cannot set property 'name' of undefined

Thanks, Qiang

arjankowski commented 2 years ago

Hi @hubentu, thank for this issue. We've already fix this in #364 and plan to release new CLI version with this fix soon.

Regards, Artur