Skip to main content

Error on CLI login

  • Jan 9, 2024 8:13 AM UTC
  • 3 replies
  • 13 views
  • Translate All

CLI installation
and command line
Box login -n example_name > error as below
How can I solve this error?
Redirect URI = http://localhost:3000/callback
client id and client secret may be correct.

Error: redirect_uri_mismatch

Show Error Details

3 replies

rbarbosa
  • Developer Advocate
  • Jan 9, 2024 2:37 PM UTC

Hi @user155 , welcome to the forum

Please check your application configurations especially the redirect url, the configurations in the cli must match the app in the developer console.

Also there is a great guide on this subject, take a look here:

Cheers

Translate

  • Author
  • Employee
  • Jan 9, 2024 11:24 PM UTC

Hello Rbarbosa

I’d just followed the guidance as you attached URL

Translate

rbarbosa
  • Developer Advocate
  • Jan 10, 2024 8:37 PM UTC

Hi,

Does the redirect URL on that screen match the application configurations?

You can check in your app development console.

For example in mine:

Translate