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
ultralame
3 years agoExplorer | Level 3
Permanent Token?
I'm really just double checking here... because it looks like DB is moving to the refresh-token model, and this is not robust enough for what I want to do.
We are trying to use Dropbox to upload files from a series of unattended test systems. (Well, they are attended, but mainly by operators with with no authority). We will have an engineer on site, but we want as minimal interaction as possible.
This means I would like to have a permanent token for a specific area within DB that we can upload and and download files by these automated systems.
Just to head off questions about it... these will be running in a la in a foreign country, and there will be minimal access. So if DB cannot provide this type of access, then we will have to find another service.
ultralame wrote:...
This means I would like to have a permanent token for a specific area within DB that we can upload and and download files by these automated systems....
The refresh token is permanent (if not intentionally revoked or until revoke). About the "specific area": application folder access (instead of full access), doesn't it cover your expectations?
- ЗдравкоLegendary | Level 20
ultralame wrote:...
This means I would like to have a permanent token for a specific area within DB that we can upload and and download files by these automated systems....
The refresh token is permanent (if not intentionally revoked or until revoke). About the "specific area": application folder access (instead of full access), doesn't it cover your expectations?
- ultralameExplorer | Level 3
Wait, the refresh token doesn't expire?
So I can exchange the static refresh token for a new token each time I run? I am deploying this to a couple dozen autonomous systems. I need to be able to do this knowing that the token is basically permanent until I revoke it.- ЗдравкоLegendary | Level 20
ultralame wrote:Wait, the refresh token doesn't expire?
...Exactly. Or least to a moment (if any) when application itself revoke it or user, who granted access, revokes it.
ultralame wrote:...
So I can exchange the static refresh token for a new token each time I run? I am deploying this to a couple dozen autonomous systems. I need to be able to do this knowing that the token is basically permanent until I revoke it.Take a look here for an example how all tokens can be "produced" and access token got "refreshed" using refresh token whenever needed. If you are using some supported SDK, usually refreshing is performed in the SDK on demand (function/method call) automatically (without you do anything in addition).
About Discuss Dropbox Developer & API
Make connections with other developers
795 PostsLatest Activity: 2 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!