I am building a robotic process automation (RPA) using ZeroWork and JavaScript. I successfully programmed the RPA to upload a file to Dropbox via the API, but I cannot find a way to get a durable OAuth token. I can test it with sl. tokens, but they expire quickly, and since this is fully run on the RPA, there is no app or user interaction -- just the RPA communicating with the API.
I get the reason for the short expirations and I am fine with coding in token refreshes, if I could just get the offline token I need to do it. We are only accessing our own Dropbox account and files, so we don't need other users to do any authorization of their accounts.
Is there a solution for this? All of the Dropbox OAuth documentation I can find appears to assume that we're building apps for other users to interact with and are blind to things like RPA file handling. We just want to be able to access our own files with the RPA.
Thanks for any help you can offer.