Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
leqtruong
4 years agoNew member | Level 2
How to show option "access token expiration" in settings tab
I use the same account to create 2 apps but why only 1 app has the option 'access token expiration' ? How to make every app have an 'access token expiration' option?
Thank you.
Greg-DB
Dropbox Community Moderator
4 years agoDropbox is switching to issuing short-lived access tokens (and optional refresh tokens) instead of long-lived access tokens. You can find more information on this migration here.
Apps can still get long-term access by requesting "offline" access though, in which case the app receives a "refresh token" that can be used to retrieve new short-lived access tokens as needed, without further manual user intervention. You can find more information in the OAuth Guide and authorization documentation.
While the change to only issue short-lived access tokens began on September 30th, we're releasing it gradually, so you may not have seen this applied to all apps yet. Once it applies to an app, it would apply regardless of the "Access token expiration" setting for that app, and that setting may no longer be available for that app.
zakariaenabi
4 years agoExplorer | Level 4
I have the same problem. My program is running productively and needs this long-term valid access token. I wanted to see if I could generate a new token and found that this option was no longer available.
So far I've simply bound the token as a variable in my program to access data in Dropbox. which files exactly do I need in my program now?
I really need this option.
Thank you.
- Greg-DB4 years ago
Dropbox Community Moderator
zakariaenabi I'm not sure I understand what you mean when you say "which files exactly do I need in my program now?". For information on how to handle the authorization flow, please refer to the resources in my earlier messages in this thread. And if you're using one of the official Dropbox SDKs, be sure to refer to the documentation/examples for that.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
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, Facebook or Instagram.
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!