Start 2025 on time and up to date. Seamlessly integrate your calendars into Dropbox with these simple steps.
Forum Discussion
w3Abhishek
11 months agoExplorer | Level 4
Dropbox OAuth2 Endpoint not giving refresh Token
Hey Dropbox Team, I am using the Dropbox OAuth2 API for my personal project. But after receiving the authorization code from the user through OAuth URL. I used it to get the access_to...
- 11 months ago
w3Abhishek Здравко is correct; you'll need to set token_access_type=offline on the authorization URL in order to receive a refresh token from /oauth2/token. Refer to the following resources for more information:
Здравко
11 months agoLegendary | Level 20
Hi w3Abhishek,
If nothing set explicit as token access type, it's as assumed to be online access type! You need offline access type for refresh token. If you have forgotten set this parameter, just set it on OAuth2 initiation. 😉 Take a look here for possible flow. Note the parameter token_access_type.
Hope this helps.
- Greg-DB11 months agoDropbox Staff
w3Abhishek Здравко is correct; you'll need to set token_access_type=offline on the authorization URL in order to receive a refresh token from /oauth2/token. Refer to the following resources for more information:
- w3Abhishek11 months agoExplorer | Level 4
Thanks Greg-DB and Здравко. Adding token_access_type=offline in my OAuth URL solved the problem.
About Discuss Dropbox Developer & API
Make connections with other developers799 PostsLatest Activity: 5 days 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!