Need to see if your shared folder is taking up space on your dropbox 👨‍💻? Find out how to check here.

Forum Discussion

Eric B.37's avatar
Eric B.37
New member | Level 2
11 years ago

Migrating oauth1 to oauth2 using token_from_oauth1

I have been using Dropbox via the Sharpbox toolkit for a while.  It's based on oAuth1, so I have a database full of oAuth1 access tokens for my users.

I'd like to convert to the new Dropbox API, which is based on oAuth2.  I see that there is a "token_from_oauth1" endpoint in Dropbox's v1 spec, but I'm not figuring out how to successfully connect to this endpoint to upgrade a user's existing token.  (I'm using C#/.NET).

Can anybody point me to some sample code that shows how to create a properly authenticated call to perform this operation?

 

Thanks

2 Replies

Replies have been turned off for this discussion

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.

The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.

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, Facebook or Instagram.

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!