cryptomator / android

Cryptomator for Android
https://cryptomator.org
GNU General Public License v3.0
719 stars 120 forks source link

pCloud connection bug: having pCloud connection on 2nd device is disconnecting it on 1st device #289

Closed ghost closed 1 week ago

ghost commented 3 years ago

Description

Creating new pCloud connection on 2nd device (tablet) disconnected me from pCloud on phone - after logging again on phone I was disconnected from tablet.

System Setup

Steps to Reproduce

  1. Add pCloud connection on phone
  2. Work with vaults on pCloud
  3. Add pCloud connection on tablet work with vaults
  4. Try to open vault on phone again

Expected Behavior

Open vault(pCloud) on phone

Actual Behavior

Asking to sign in and allow pCloud access

Reproducibility

Always

Additional Information

SailReal commented 3 years ago

While testing I observed the same and thought, that pCloud only allows 1 active device on free accounts but I didn't found something online that would confirms this... maybe @mjenny has already stumbled across it?

storm1ng commented 3 years ago

Well yeah, there isn't much we can do about it...

pCloud is only allowing one valid API token per application (meaning the Cryptomator pCloud app, not thr Android app). As soon as you authorize Cryptomator on another device the previously issued token is revoked and therefore no longer works.

Maybe we should open an issue for the SDK.

SailReal commented 3 years ago

Thanks for your input @mjenny.

Just created https://github.com/pCloud/pcloud-sdk-java/issues/18 ... let's see if this limitation is intentional.

storm1ng commented 3 years ago

Thanks @SailReal for opening the issue. Currently not on a pc otherwise I would have opened it. 😄

There isn't a proper project regarding their backend afaik.

SailReal commented 3 years ago

The problem seems to be fixed :+1: please reopen this issue if it occurs again,

SailReal commented 3 years ago

Just reopened the upstream issue too.

storm1ng commented 3 years ago

@SailReal did this issue just disappear the last time (pCloud server-side issue)?

SailReal commented 3 years ago

@mjenny yes, it just disappeared and yes it looks like they limit the amount of tokes you can create "simultaneously" on the server-side so that account sharing isn't a problem but the limit of 1? is imo not practical.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.