icidasset / diffuse

A music player that connects to your cloud/distributed storage.
https://diffuse.sh
Other
808 stars 67 forks source link

Change Dropbox source auth flow #320

Open icidasset opened 2 years ago

icidasset commented 2 years ago

Dropbox recently changed their HTTP API. The token auth flow, which we use for Dropbox sources, is now marked as 'legacy'. See: https://www.dropbox.com/developers/documentation/http/documentation#authorization

We've already updated the auth flow for the user-storage layer, which worked slightly different. I think the auth flow for the sources should still work for now, but we should replace it eventually. See the Google Drive auth flow as an example for how to work with refresh tokens in sources.