buttercup / buttercup-mobile

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

Cannot add google vault #337

Closed piotreknow02 closed 1 year ago

piotreknow02 commented 1 year ago

OS: Android URL: https://buttercup.pw/auth/google/?code={CODE_HERE}scope=email%20profile%20https://www.googleapis.com/auth/drive.file%20openid%20https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/userinfo.email&authuser=0&prompt=consent buttercup-application-error

carcam commented 1 year ago

Inhave the same issue!! Any ideas on how to fix?

dimforensics commented 1 year ago

same issue on iOS.

piotreknow02 commented 1 year ago

I check browser console with remote debugging, here's result:

Zrzut ekranu 2023-04-22 o 13 39 33
tdislay commented 1 year ago

For now, a workaround is to replace the /auth/google/? part in the url by /?googledesktopauth&

perry-mitchell commented 1 year ago

I was hoping to avoid having to update the mobile app right now as I'm trying to get the browser extension prepared for release. I'm afraid that any issues that might require updating the core Buttercup utilities will be blocked by us having to support ESM, somehow, in the mobile app (new JavaScript modules format).

I'd be very grateful if someone could look into the guts of this issue and see what's going wrong here.. if it's a mismatched URL path or something like that.

tdislay commented 1 year ago

It doesn't have anything to do with the mobile app (at least, seems to). The problem seems to come from the website, you can't open links with subdirectories anymore (e.g. https://buttercup.pw/privacy). Meanwhile you still can load the index page with URL parameters See my issue buttercup/buttercup-website#70

perry-mitchell commented 1 year ago

Apologies for the downtime - looking at this today.

perry-mitchell commented 1 year ago

The website should be fixed - can someone help confirm?

ttamminen commented 1 year ago

Yes! Now it works correctly. Good work, @perry-mitchell!