cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Update: Find information on Dropbox support during COVID-19 here
Close
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted

Dropbox account for users without creating an app for every user account

New member | Level 1
New member | Level 1

I have a Dropbox account and I have created/ registered an app in App Console. Then using the App key/ App secret for the created app and using OAuth process I have stored my access token in my Asp.Net project database table.I could upload/ download/ delete files from my Dropbox account.There are many users in the project and they have individual Dropbox account.

Now my requirement is to store access token for every user in my database without creating an app in Dropbox App Console(https://www.dropbox.com/developers/apps) for every user Dropbox account.

Is there any way to fulfill my requirement?

3 Replies 3
Highlighted

Re: Dropbox account for users without creating an app for every user account

New member | Level 1
New member | Level 1

Yes, now that you've tested out the Dropbox API with you own access token (generated in the App Console), you'll want to set up a login process for your users to each get their own access tokens.

You can use the same app you've created and the same app key and secret. However, each user will need to go through a "connect with Dropbox" style flow to get their own access token, which you can then store in your database.

Check out this OAuth guide for an overview of the process: https://www.dropbox.com/developers/reference/oauth-guide

The .NET SDK also includes methods for authorizing users and storing tokens: https://www.dropbox.com/developers/documentation/dotnet

The sample apps include code for authorizing users. Here's an example I found: https://github.com/dropbox/dropbox-sdk-dotnet/blob/master/Examples/SimpleBlogDemo/Controllers/HomeCo...

Hope that helps!

Highlighted

Re: Dropbox account for users without creating an app for every user account

Dropboxer
Dropboxer
Highlighted

Re: Dropbox account for users without creating an app for every user account

New member | Level 1
New member | Level 1

Thanks @Leah C. and @Steve M.

Work Smarter with Dropbox

The way we work is changing. Share and discover new ways to work smarter with Dropbox in our community.

Sound good? Let's get started.
Who's talking

Top contributors to this post

What do Dropbox user levels mean?
Need more support?