pb-for-desktop icon indicating copy to clipboard operation
pb-for-desktop copied to clipboard

Can't log in using Google

Open bradykelly opened this issue 1 year ago • 14 comments

🤷🏽‍♂️ 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

bradykelly avatar Sep 21 '23 16:09 bradykelly

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...

yannickdelop4 avatar Sep 22 '23 23:09 yannickdelop4

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.

pratyushbarik avatar Oct 13 '23 09:10 pratyushbarik

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

itsjustarumour avatar Oct 13 '23 16:10 itsjustarumour

Same with M2 Pro

i6941 avatar Oct 17 '23 01:10 i6941

@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

swordsx48 avatar Jan 26 '24 07:01 swordsx48

@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

sidneys avatar Jan 29 '24 09:01 sidneys

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.

ferenczy avatar Mar 03 '24 22:03 ferenczy

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

sidneys avatar Mar 05 '24 15:03 sidneys

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

swordsx48 avatar May 22 '24 23:05 swordsx48

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

sidneys avatar Jun 01 '24 17:06 sidneys

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 avatar Jun 09 '24 21:06 bstone108

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

bstone108 avatar Jun 23 '24 22:06 bstone108

Could we login with an API key instead?

AJolly avatar Jul 08 '24 17:07 AJolly