We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
Paul R.17
4 years agoExplorer | Level 4
Short lived tokens - node-RED community help needed
The node-RED community, which numbers in excess of 30,000 members worldwide have enjoyed using Dropbox via a community contributed node for the past 5 years - https://github.com/Paul-Reed/node-red-we...
Paul R.17
4 years agoExplorer | Level 4
Thanks for replying.
I have already looked at that, but could not understand how/where it would be added to the existing code.
Unfortunately, most of us in the node-RED community are at a lower technical level, and are struggling.
Scott-DB
Dropbox Staff
4 years agoHi Paul,
Thanks for bearing with us as we've been migrating to short-lived tokens!
One thing that might help, you mentioned you've made some attempts at updating your code to use short-lived tokens. If you have a pull-request or some work done you can post here, we can take a look and might be able to provide more specific guidance.
- Paul R.174 years agoExplorer | Level 4
Thanks for the kind offer Scott-DB
However, not quite at that stage yet, but probably (very likely!) I'll take you up on that offer.
Meanwhile, most of the example SDK's relate to browser based apps. Is there a javascript SDK/example that is suitable for back-end applications that I could use to obtain the token?
- Paul R.174 years agoExplorer | Level 4
Здравко I tried your demo link to create a token which worked fine, and produced a valid (short life) token which enabled the node-RED node to work OK.
But could you clarify this link which you posted earlier as it appears to be an example for use with browser apps, and not for a back-end app which run without user intervention. Is this the correct example for me to follow?
- Здравко4 years agoLegendary | Level 20
Paul R.17 wrote:Здравко I tried your demo link to create a token which worked fine, and produced a valid (short life) token which enabled the node-RED node to work OK.
...
Hi Paul R.17,
Not only short lived token, but all needed to use refresh process.
Paul R.17 wrote:...
But could you clarify this link which you posted earlier as it appears to be an example for use with browser apps, and not for a back-end app which run without user intervention. Is this the correct example for me to follow?
I have no idea how you can run the pointed code in browser! 🤔 Did you try? 🧐 To be honest, I can't. Share your experience how you did it. That code is a simple backend application actually. Of course, you can see the application output in a browser, but the application doesn't run in the browser (as far as I know). 😉
Hope this cast additional light.
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!