cancel
Showing results for 
Search instead for 
Did you mean: 

Dropbox oauth2/authorize 400 error

SOLVED
307 Views
4 Comments
0 Kudos
Highlighted
Level 6

Dropbox oauth2/authorize 400 error

Please refer to this and provide help at either place.

 

https://stackoverflow.com/questions/46395095/dropbox-oauth2-authorize-400-error

 

2 Accepted solutions

Accepted Solutions
Solution
Dropboxer

Re: Dropbox oauth2/authorize 400 error

Thanks for the post. I've added it as a duplicate of:

https://stackoverflow.com/questions/27263120/dropbox-oauth-2-dynamic-return-url

In short, redirect URIs need to be exactly pre-registered, but there's a workaround there that may work for you.
Solution
Level 6

Re: Dropbox oauth2/authorize 400 error

Thanks, I'll try the workaround, but why is the endpoint from the documentation page still pointing to version1?

 

https://www.dropbox.com/developers-v1/core/docs#oa2-authorize

 

It shows:

 

https://www.dropbox.com/1/oauth2/authorize

 

4 Replies
Solution
Dropboxer

Re: Dropbox oauth2/authorize 400 error

Thanks for the post. I've added it as a duplicate of:

https://stackoverflow.com/questions/27263120/dropbox-oauth-2-dynamic-return-url

In short, redirect URIs need to be exactly pre-registered, but there's a workaround there that may work for you.
Solution
Level 6

Re: Dropbox oauth2/authorize 400 error

Thanks, I'll try the workaround, but why is the endpoint from the documentation page still pointing to version1?

 

https://www.dropbox.com/developers-v1/core/docs#oa2-authorize

 

It shows:

 

https://www.dropbox.com/1/oauth2/authorize

 

Dropboxer

Re: Dropbox oauth2/authorize 400 error

That's the old API v1 documentation. I've updated my answer with the API v2 link. Thanks!

Level 6

Re: Dropbox oauth2/authorize 400 error

Thanks, this part works.