Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Is it correctly understood that the token I get from a user after the authorization flow, is valid until the user revokes it? Meaning I can just store it securely in the app and use it each time it's needed?
Second question. If I can not close the browser that presented the dropbox authentication dialog (on calling redirect_uri, is there anything I can return that will says success or possible close the browser window?
Thanks in advance
Odin
Hi. Thank for you answer. I use the system browser and redirect back to localhost inside my app.
Now I just return a HTML page with a message saying the user was authorized and they can return to the app.
Plus a link to close the browser window.
Later i'll probably switch to an embedded browser and the webpage will close itself 😉
Actually everything is working just fine, but I get a 400 error when trying to get a token from the code I get from the auth flow so I'm kinda stuck there.
Hi there!
If you need more help you can view your support options (expected response time for a 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!