sidneys / pb-for-desktop

The missing Desktop application for Pushbullet.
https://sidneys.github.io/pb-for-desktop
MIT License
506 stars 43 forks source link

Can't log in using Google #171

Open bradykelly opened 11 months ago

bradykelly commented 11 months ago

🤷🏽‍♂️ Current Behaviour

Bug Reports: The app seems to open fine, and shows 2 buttons, 1 to log in with Google and 1 for FaceBook. When I click the Google login button, the app first shows a login screen for me to select a Google account, but that screen only shows for about 1 second, and then the app shows an animated image that says, "connecting", and also has a fancy "Home" button, but it never connects, it just hangs with the "connecting" message always animated.

If I'm lucky and click the "home" button, after a long delay I get taken back to the screen with Google and Facebook buttons. Click the Google button repeats the lengthy process. Yet when I click the FaceBook button, I get signed in properly and taken to the PB home screen.

🎯 Expected Behaviour

Bug Reports: When I click the "Sign in with Google", I should get taken to a Google login screen that is active long enough for me to choose a Google login, and then the app should log me in quickly, and not go into an endless loop showing the "connecting" animated image.

👟 Steps to Reproduce (S2R)

  1. Install PB desktop on Zorin 16.3, using the Debian 64 package at https://sidneys.github.io/pb-for-desktop/#download.
  2. Start PB desktop.
  3. The app goes straight into trying to sign into Google
  4. Click the home button and wait quite a while for the Google/Facebook menu.
  5. Try Google and the whole process repeats.
  6. Try FaceBook and PD desktop signs in properly and presents the GUI to send and receive etc.

🏡 Environmental Context

App Version v11.0.2 amd64 Installation Type Opened.deb package with "Install Linux Application" in Thunar Operating System Zorin 16.3

yannickdelop4 commented 11 months ago

Bug Reports: When I click the "Sign in with Google", I should get taken to a Google login screen that is active long enough for me to choose a Google login, and then the app should log me in quickly, and not go into an endless loop showing the "connecting" animated image.

Same for me on win64, portable and normal installer versions. Also noticed a very high CPU load while in this loop...

pratyushbarik commented 10 months ago

Same with M1 Pro. It seems to be an overlay on top of the login page. I can type my username and password blindly with the overlay and using the enter key on keyboard. I was able to login and the overlay went away with a successful login.

itsjustarumour commented 10 months ago

Same here, with fresh install of Windows 11 on a new laptop.

i6941 commented 10 months ago

Same with M2 Pro

swordsx48 commented 6 months ago

@sidneys can you recommend something to resolve this? I understand the app is in a state of hibernation, but we could really use something to just be able to sign in - even if not the other electron / package / node updates

a happy user, swordsx48

sidneys commented 6 months ago

@sidneys can you recommend something to resolve this? I understand the app is in a state of hibernation, but we could really use something to just be able to sign in - even if not the other electron / package / node updates

a happy user, swordsx48

Hi @swordsx48,

I'm currently not aware of a workaround, as the login issue seems to stem from changes within Google's login API. This is likely requires to be addressed in a separate bug fix.

Thank you for your message, Cheers, S

ferenczy commented 5 months ago

I wanted to try the app, but "an overlay on top of the login page" sounds pretty scary and I'm not really comfortable putting my password there, even with a 2FA enabled on my account.

sidneys commented 5 months ago

I wanted to try the app, but "an overlay on top of the login page" sounds pretty scary and I'm not really comfortable putting my password there, even with a 2FA enabled on my account.

Thank you for the heads-up. This issue will addressed in an upcoming fix as well.

Cheers, S

swordsx48 commented 2 months ago

any news @sidneys ? happy to send some donation your way if this is a side project which doesn't get much attention anymore. I'm sure the people in this thread wouldn't mind pooling some donation together. I'm surprised someone hasn't forked and fixed it themself lol. heck I'd be happy to hire someone for an hour or two to fix it for the world -- technically just updating that log in capability would bring it back to life.

also, maybe I'm off kilter, but it doesn't make sense that it's a log-in API change because it appears that the log in works fine if able to get past the overlay as @pratyushbarik mentioned, but its rendering a white overlay on the log in screen after some time.

happy to beta test if needed as well :)

Best, swordsx48

sidneys commented 2 months ago

Hi @swordsx48

Thanks for your reply and your enthusiasm.

The work on the fixes already started, but haven't concluded yet. Googles' changes in the OAuth log-in process required some trickery to integrate, as the behavior of its previous iteration was deeply integrated with the previously existing UI structure. I'll try to give an update in this or the coming weeks (maybe also taking you up the beta testing offer).

Thanks for the donation suggestion as well - it's not required as of now, but I'll consider integrating something like this as an option in future releases (after the bulk of pressing fixes are done).

Cheers, S

bstone108 commented 2 months ago

I'm still waiting on this fix as well, app has been useless for me since I can't log into it :) hope that release is coming soon! I'm watching for it. And thank you!

bstone108 commented 1 month ago

guess the fix is running a little later than estimated? lol. wish I could help but not sure where to start.

AJolly commented 1 month ago

Could we login with an API key instead?