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
dsimonson
7 years agoExplorer | Level 4
Getting started - adding users to my app
I have just created a Dropbox app to allow users to save a file from my FileMaker app to a folder (created by the Dropbox app) on their personal Dropbox.
It worked great for me (I'm very excited!), now I need to be able to let a few others try it for testing.
I am trying to add these users from the App Console, but the only option I have under "Development users" is "Unlink all users". I don't see how to add a user?
Also, when I add these users, which method should I use to get them to be able to authenticate? I plan on using OAuth 2. For my test, I generated an access token which I inserted in my FileMaker url sent to Dropbox. But I don't want to share that access token, do I? I do have a secure method to save the generated token into the FileMaker app, should I use that? Then it won't be accessible to the users, but I am unclear on whether they need to each generate their own token.
Thanks for any help!
Dan
- Greg-DBDropbox StaffAs long as you've clicked the "Enable additional users" button on the App Console already (which it sounds like you have), you don't need to do anything else on the App Console to add other users explicitly.
In order to have other users connect their own Dropbox accounts, you should implement the OAuth 2 app authorization flow in your app. There's a guide here that explains how that flow works:
https://www.dropbox.com/developers/reference/oauth-guide
You can find the documentation for it here:
https://www.dropbox.com/developers/documentation/http/documentation#authorization
(If you're using an official Dropbox SDK though, refer to the specific documentation for the SDK, as it will do most of the work for you.)
Once that's implemented in your app, you can distribute your app to them to have them use it and connect their Dropbox accounts.
Each access token is for a specific app-user pair, and allows access to that user's account, to the extent allowed by the app's permission. You should not distribute your own access token to end-users. Each end-user will get their own access token via the app authorization flow.- MilesSmithExplorer | Level 3
Greg-DB wrote:
As long as you've clicked the "Enable additional users" button on the App Console already (which it sounds like you have), you don't need to do anything else on the App Console to add other users explicitly.
In order to have other users connect their own Dropbox accounts, you should implement the OAuth 2 app authorization flow in your app. There's a guide here that explains how that flow works:
https://www.dropbox.com/developers/reference/oauth-guide
You can find the documentation for it here:
https://www.dropbox.com/developers/documentation/http/documentation#authorization
(If you're using an official Dropbox SDK though, refer to the specific documentation for the SDK, as it will do most of the work for you.)
Once that's implemented in your app, you can distribute your app to them to have them use it and connect their Dropbox accounts.
Each access token is for a specific app-user pair, and allows access to that user's account, to the extent allowed by the app's permission. You should not distribute your own access token to end-users. Each end-user will get their own access token via the app authorization flow.Am facing the same problem. Hope anyone here can help me too. Thanks in advance. Regards,
- Greg-DBDropbox Staff
MilesSmith Please open a new thread with details of what specifically you're stuck on so we can help.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,915 PostsLatest Activity: 4 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!