The master branch of remotestorage.js now contains code to support the refresh tokens of Dropbox (OAuth2 PKCE) – so users can stay logged in for days, not hours.
The docs are not currently building, so here’s the updated info for app developers:
Create a new “scoped” app for the “Dropbox API” (or change an existing app to use scopes), with these scopes:
account_info.read
files.metadata.read
files.metadata.write
files.content.read
files.content.write
You need to set one or more OAuth2 redirect URIs for all routes a user can
connect from, for example http://localhost:8000 for an app you are
developing locally. If the path is ‘/’, rs.js drops it.