buttercup / buttercup-mobile

:iphone: React-Native mobile application for Buttercup
https://buttercup.pw
GNU General Public License v3.0
392 stars 69 forks source link

Google Drive - ReAuthorization loop #304

Closed cyrilnaimi closed 1 year ago

cyrilnaimi commented 2 years ago

Hi, Maybe I am the only crazy one to use buttercup on iPad & Android phone but I think I found a weird scenario for the authentification with google drive.

I can use my vaults on desktop (directly opening my files in my Drive) and on 1 Device (Android or IOS). As soon as I try to add the other device I need to reauthorized everything on the oldest device and I mostly sendup in the OFFLine mode even with the right settings.

Example of flow bringing the issue :

The fact the reauthorization never succeeded is strange. if you clean (remove the vault) and reconfigure it's okay until you access the other device.

Good luck for this one :(

perry-mitchell commented 1 year ago

You're not crazy, this is definitely reproducible on other devices. I'm trying to figure out why it's happening and I think I'm getting close. Will hopefully update in the next day or so as debugging this is time sensitive.

perry-mitchell commented 1 year ago

Think I might have solved it, need to push it out to my devices to test further.