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
luisdatec
2 years agoExplorer | Level 4
Display Token Redirect URI is not showing
I am authenticating an App, and everything is fine, just a bug that I think is happening in the Dropbox website. After authenticating the app, it redirects to a URL that we must set, and I am usi...
- 2 years ago
The https://www.dropbox.com/1/oauth2/display_token page was only built for the response_type=token flow, not the response_type=code flow.
For example, https://www.dropbox.com/1/oauth2/display_token?code=thiswillnotshow will not show the value, but https://www.dropbox.com/1/oauth2/display_token#access_token=thiswillshow will show the value.
In your screenshot, you're using "?code=", which is not supported by the https://www.dropbox.com/1/oauth2/display_token page. The response_type=token flow is considered deprecated now in favor of the response_type=code flow anyway, so we don't recommend using the response_type=token flow or the https://www.dropbox.com/1/oauth2/display_token page anymore. You should use the response_type=code flow with your own redirect URI on your own server. Please refer to the OAuth Guide and authorization documentation for more information.
Greg-DB
Dropbox Staff
The https://www.dropbox.com/1/oauth2/display_token page was only built for the response_type=token flow, not the response_type=code flow.
For example, https://www.dropbox.com/1/oauth2/display_token?code=thiswillnotshow will not show the value, but https://www.dropbox.com/1/oauth2/display_token#access_token=thiswillshow will show the value.
In your screenshot, you're using "?code=", which is not supported by the https://www.dropbox.com/1/oauth2/display_token page. The response_type=token flow is considered deprecated now in favor of the response_type=code flow anyway, so we don't recommend using the response_type=token flow or the https://www.dropbox.com/1/oauth2/display_token page anymore. You should use the response_type=code flow with your own redirect URI on your own server. Please refer to the OAuth Guide and authorization documentation for more information.
luisdatec
2 years agoExplorer | Level 4
Thank you!
About Discuss Dropbox Developer & API
Make connections with other developers
798 PostsLatest Activity: 4 hours 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!