We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
IQCloud
6 years agoExplorer | Level 3
OAuth2 response
Hello,
when we access the auth 2 authorization interface at:
https://api.dropbox.com/1/oauth2/authorize?response_type=code&client_id=zzzzzzz&redirect_uri=https://localhost:4433/Test
...
Greg-DB
Dropbox Community Moderator
6 years agoYou're using the "code" flow here, which means that you'll get an "authorization code" back on your redirect URI. You should then exchange that authorization code for an "access token" by calling /oauth2/token. The /oauth2/token endpoint's response will include the 'account_id' for the user account that authorized the app. You can also call /2/users/get_current_account with an access token to check what account the access token is for.
Also, note that per the documentation, the app authorization page should be accessed at https://www.dropbox.com/oauth2/authorize (not on api.dropbox.com).
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!