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:
An app key can be obtained by registering your app
- Create a new “scoped” app for the “Dropbox API” (or change an existing app to use scopes), with these scopes:
- You need to set one or more OAuth2 redirect URIs for all routes a user can
connect from, for example
http://localhost:8000for an app you are
developing locally. If the path is ‘/’, rs.js drops it.