cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Not happy with your Spotify Wrapped? Check out how Kevin on the Dropbox team used Paper to make sure he keeps discovering new music over 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: 
1
Ask
2
Reply and help

Re: Attempt to relink Dropbox? keeps recurring

Re: Attempt to relink Dropbox? keeps recurring

Bob S.15
Collaborator | Level 8

So, I migrated my account.   And when passing 'nil' for the scope argument, I can unlink, then relink, and it works.

 

If I want to start using the scope argument then I just need to figure out which scopes I'm using and pass them all there when I call authorize? 

 

Re: Attempt to relink Dropbox? keeps recurring

Greg-DB
Dropboxer

You can pass the scopes explicitly to the scopeRequest parameter on authorizeFromControllerV2, but it's not technically required. Once you've migrated an app to scopes, the scopes you have selected will be the default and maximum scopes that can be used by that app. If you pass pass nil to the scopeRequest parameter on authorizeFromControllerV2, it will default to that set of scopes. You can also set the scopeRequest parameter on authorizeFromControllerV2 to take a subset of those scopes if/when that makes sense for your app (e.g., if it only needs to use a subset of that functionality in any particular scenario).

 

As a security best practice, you should enable only the specific scopes necessary for all of the functionality used by your app.

Need more support?