cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know all about tools for creatives that work seamlessly with Dropbox, like Adobe? Well, check it out right 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: 

I have a question about oauth for authentication when using webhooks. Ideas?

I have a question about oauth for authentication when using webhooks. Ideas?

ch26
Helpful | Level 7

Hi Team

I know that dropbox uses oauth for authentication when accessing user accounts.

Is that authentication is required everytime for webhook?? or it is used at once in the beginning??

2 Replies 2

Re: authentication

ch26
Helpful | Level 7

I have flask application which deals with accessing dropbox user account, to access it successfully i need to write code for oauth.

After successful authentication of user i receive token.

using that token i can get accessed to user account. Is this will be performed for each user everytime or at once in the beginning?

Re: authentication

Greg-DB
Dropboxer

In order for a Dropbox API app to make an API call to access a user's account, the app will need an access token for that user's account. The app can get one by having the user authorize the app to access their account, via the OAuth app authorization flow. You can find more information on how this works in the OAuth Guide and authorization documentation

Once the user authorizes the app and the app receives the access token, that app is considered "linked" to that account. The app can store and re-use the access token for that user for future API calls, without having the user re-authorize the app again. API calls are initiated by the API app itself, and should contain the access token.

Also, once the app is linked to the account, if the app has a webhook URI registered, changes in the account will result in Dropbox sending a webhook notification to the app's registered webhook URI(s), indicating that something has changed in that account. Webhook notifications are initiated by the Dropbox servers, and do not contain an access token.

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    ch26 Helpful | Level 7
What do Dropbox user levels mean?
Need more support?