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
bebuccio
12 months agoNew member | Level 2
Using /authorize passing client_id & redirect_uri next /token don't retrieve refresh_token
I have written a webapp to make the whole procedure to retreive a REFRESH_TOKEN so I can ask for a TOKEN when I want interacxt with DropBox.
When I invoke this my page, it send a GET to https://api...
- 12 months ago
bebuccio wrote:I have written a webapp to make the whole procedure to retreive a REFRESH_TOKEN so I can ask for a TOKEN when I want interacxt with DropBox.
When I invoke this my page, it send a GET to https://api.dropbox.com/oauth2/authorize with this params:
?client_id=<my_app_key>&redirect_uri=<myRedirectUri>&response_type=code
...
In this response it is missing the REFRESH_TOKEN.
If I do the same process but without the "redirect_uri" facility:
1) send a GET like https://www.dropbox.com/oauth2/authorize?client_id=<my_app_key>&token_access_type=offline&response_type=code
...
I receive the correct data with the REFRESH_TOKEN
...
Hi bebuccio,
Did you pass "token_access_type=offline" with the first variant too? 🧐😉
Hope this helps.
Здравко
12 months agoLegendary | Level 20
bebuccio wrote:I have written a webapp to make the whole procedure to retreive a REFRESH_TOKEN so I can ask for a TOKEN when I want interacxt with DropBox.
When I invoke this my page, it send a GET to https://api.dropbox.com/oauth2/authorize with this params:
?client_id=<my_app_key>&redirect_uri=<myRedirectUri>&response_type=code
...
In this response it is missing the REFRESH_TOKEN.
If I do the same process but without the "redirect_uri" facility:
1) send a GET like https://www.dropbox.com/oauth2/authorize?client_id=<my_app_key>&token_access_type=offline&response_type=code
...
I receive the correct data with the REFRESH_TOKEN
...
Hi bebuccio,
Did you pass "token_access_type=offline" with the first variant too? 🧐😉
Hope this helps.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,882 PostsLatest Activity: 3 years 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!