We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
blink
9 years agoExplorer | Level 3
API V2 oauth 1.0
Dear all, is oauth 1.0 still use in the future? That's means use API V2 and use oauth 1.0 through HTTP, TKS!
blink
9 years agoExplorer | Level 3
Thank you for your answer! and I can get authorization code by browser. then I use
https://api.dropboxapi.com/oauth2/token API to get correct result . but that's not my needed.
and I don't understand what's the different between https://api.dropboxapi.com/oauth2/token result "access_token" and App Console (Generated access token) .
in fact, I want to the user input App key and App secret . then I can use API V2 to get access token , and I can upload files. if let's user input access token, it too long and inconvenient . so please help me. thanks!
Greg-DB
Dropbox Community Moderator
9 years agoThe tokens retrieved by /oauth2/token and the App Console's "Generate" button are the same kind of access tokens. The only thing to note is that the "Generate" button can only be used to get an access token for the single account that owns the app, whereas the OAuth flow can be used to get an access token for any account.
When you develop an API app, you should not require the user to enter their own app key and secret. You, as the developer, only need to register the API app once. You should then use the app key and secret in your app. The app key and secret identify the app. The app can then send the user through the OAuth flow to get an access token for the user.
I recommend reading the OAuth guide for an overview of how this works:
https://www.dropbox.com/developers/reference/oauth-guide
When you develop an API app, you should not require the user to enter their own app key and secret. You, as the developer, only need to register the API app once. You should then use the app key and secret in your app. The app key and secret identify the app. The app can then send the user through the OAuth flow to get an access token for the user.
I recommend reading the OAuth guide for an overview of how this works:
https://www.dropbox.com/developers/reference/oauth-guide
About 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!