You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
Mark R.5
10 years agoHelpful | Level 5
Clarification on support for OAuth 1
It was recently announced that Dropbox API v2 would support OAuth 2 only.
Does this mean that existing apps which use OAuth 1 will stop working when API v2 is rolled out?
- Steve M.Dropbox Staff
No. Core API v1 will continue to work as-is.
- Mark R.5Helpful | Level 5
Thanks for the response. I wasn't sure whether they would run alongside each other or not, so good to know.
- Svetlana I.1New member | Level 1
Hi! Could you please confirm that Core API will continue to work with OAuth 1.0? A year has passed maybe something was changed, because v2 endpoints work only with OAuth 2.0. There is https://www.dropbox.com/developers-v1/core/docs#oa2-from-oa1 endpoint which provides a capability to work with v2 endpoints using OAuth 1.0 authorization flow. Can we be sure that after v1 endpoints are deprecated the OAuth 1.0 endpoints will work as before? Thanks in advance.
- Greg-DBDropbox Staff
API v1, a.k.a. the Core API, supports both OAuth 1 and OAuth 2 and will continue to do so. Note that API v1 is already deprecated in favor of API v2.
API v2 only supports OAuth 2.
The /1/oauth2/token_from_oauth1 endpoint you mentioned allows you to get an OAuth 2 access token from an OAuth 1 access token. We recommend using that while API v1 is still enabled in order to migrate your existing users to API v2.
When you do migrate your app to API v2, you should also migrate to using the OAuth 2 app authorization flow itself in place of the OAuth 1 flow.
- Svetlana I.1New member | Level 1
Thanks for the quick response! Just to be sure that we are on the same page. Our application uses https://www.dropbox.com/1/oauth/authorize endpoint as a first step in the authorization flow. In the migration guide is mentioned that /1/oauth2/authorize endpoint is migrated to /oauth2/authorize. Does it mean that https://www.dropbox.com/1/oauth/authorize request won't work after Sept, 28 when v1 will be deprecated? Thanks again for help!
- Greg-DBDropbox Staff
Yes, the OAuth 1 authorization page at /1/oauth/authorize is only for API v1, and will be retired with API v1. You'll need to migrate to using the OAuth 2 authorization page at /oauth2/authorize.
(API v2 doesn't support OAuth 1, so the OAuth 1 page won't be useful once API v1 is retired anyway.)
- Greg-DBDropbox StaffTo follow up here, if you do need to migrate OAuth 1 access tokens and want to do so via API v2, we now have an API v2 endpoint for doing so:
https://www.dropbox.com/developers/documentation/http/documentation#auth-token-from_oauth1
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,917 PostsLatest Activity: 11 days ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!