We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
FrustratedUser3
2 years agoCollaborator | Level 8
Redirect URI documentation incomplete for code flow
The process of using the redirect URI is not fully explained. There is no mention of which method will be used to call the URI (POST, GET, etc.) and there is no explanation of which parameters should be expected upon successful completion of the code flow. I was expecting to see an example of the incoming request. I'm currently guessing at how it should work.
FrustratedUser3 Thanks for the feedback!
- ЗдравкоLegendary | Level 20
Hi FrustratedUser3,
If you mean callback query (redirect URI), after confirmation by user, ( it's NOT a call!!! ) GET method is in use. For code flow, there is mandatory 'code' parameter and optional 'state' parameter (appears when/if set in auth URL). Further you need to finish the flow with call to /oauth2/token where you get the flow' results (access token, optional refresh token, different IDs, etc.). 😉 That's it.
Hope this helps.
- FrustratedUser3Collaborator | Level 8
I was pointing out that the documentation is incomplete. The state variable is mentioned, the code variable is implied, and the http VERB is not referenced. This needs to be added to the documentation:
After the user presses allow during the code flow process, the browser sends a request to the redirect URI using the GET verb with the following query parameters: * code: A code that ... * state: An optional variable ...
- Greg-DBDropbox Staff
FrustratedUser3 Thanks for the feedback!
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months agoIf 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!