External Storage with Multiple Users

Nextcloud version : 14.0.0
Operating system and version: Debian 9
Apache: 2.4.25
PHP version : 7.0.19

The issue you are facing:
When different users try to mount different external storages of the same type (e.g. dropbox), the files of one are sometimes visible in the drive of the other. It’s as if the OAuth tokens are shared between users. Has anyone else faced this issue?

Is this the first time you’ve seen this error? (Y/N): No

Steps to replicate it:

  1. Enable External Storage
  2. Download and enable the Dropbox app (here)
  3. Log in as one user and mount a dropbox folder
  4. Log in as another user and mount a dropbox folder using a different dropbox account
  5. Wait for the drives to sync
  6. Log back in as the first user. You now see the files of the first user instead