Skip to main content

Error on CLI login

  • January 9, 2024
  • 3 replies
  • 9 views

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
  • January 9, 2024

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


  • Author
  • January 9, 2024

Hello Rbarbosa

I’d just followed the guidance as you attached URL


rbarbosa
  • Developer Advocate
  • January 10, 2024

Hi,

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

You can check in your app development console.

For example in mine: