Forum Discussion

Pcrombach's avatar
Pcrombach
Explorer | Level 3
8 years ago
Solved

What is best practice to supply token to webapplicatie version of mobile app

I know how to achieve oauth token from Dropbox in mobile app. I have a desktop variant of my mobile app. What is the best way to apply the oauth token to the webapp.   my suggesties would be to Sav...
  • Greg-DB's avatar
    8 years ago
    Exactly how you structure this is up to you, but you may wish to just have each instance of your app implement the OAuth app authorization flow itself. Having more than one access token per app-user pair is allowed, so you can just have each instance get and store its own access token.

    If you do want them to share an access token, that is also possible. The "best" way to share the access token really depends on what your requirements are. In any case though, make sure the access token is always stored and transported securely, as it is sensitive. I can't offer security advice, so you may want to consult with a security professional for more specific advice for your use case.

About Dropbox API Support & Feedback

Node avatar for 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!