Start 2025 on time and up to date! Seamlessly integrate your calendars into Dropbox with these simple steps! 📆
Forum Discussion
bebuccio
2 years 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...
- 2 years 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.
Здравко
2 years 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,936 PostsLatest Activity: 3 hours ago
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 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!