cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Getting started - adding users to my app

Getting started - adding users to my app

dsimonson
Explorer | Level 4

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

 

 

3 Replies 3

Greg-DB
Dropbox Staff
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.

MilesSmith
Explorer | 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-DB
Dropbox Staff

@MilesSmith Please open a new thread with details of what specifically you're stuck on so we can help.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
  • User avatar
    MilesSmith Explorer | Level 3
What do Dropbox user levels mean?