cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting started - authorizing

Getting started - authorizing

dsimonson
Explorer | Level 4
Go to solution

My app id is (for example) xxxxxxxxxxx

 

Why doesn't this URL, pasted into my browser, take me to the page to let me authorize my app?

 

https://www.dropbox.com/oauth2/authorize?client_id = xxxxxxxxxxx

 

am I missing quotes?  I tried this as well:

 

https://www.dropbox.com/oauth2/authorize?client_id = "xxxxxxxxxxx"

 

I know I am missing something, it is just not obvious to me.  Thanks.

1 Accepted Solution

Accepted Solutions

Greg-DB
Dropbox Staff
Go to solution
You're missing a few parameters that are necessary for the /oauth2/authorize page. (You should be getting a detailed error message at the bottom of that page when you access it like this.)

You can find the full documentation for the required and optional parameters here:

https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize

At a minimum, you also need the "response_type" parameter.

Also, this old blog post was written for the now-retired API v1 (a.k.a. Core API), but the OAuth 2 flow still works the same for API v2:

https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/

View solution in original post

1 Reply 1

Greg-DB
Dropbox Staff
Go to solution
You're missing a few parameters that are necessary for the /oauth2/authorize page. (You should be getting a detailed error message at the bottom of that page when you access it like this.)

You can find the full documentation for the required and optional parameters here:

https://www.dropbox.com/developers/documentation/http/documentation#oauth2-authorize

At a minimum, you also need the "response_type" parameter.

Also, this old blog post was written for the now-retired API v1 (a.k.a. Core API), but the OAuth 2 flow still works the same for API v2:

https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/
Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?