question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not login again after logged out

See original GitHub issue

After logged out, the login button doesn’t have any response after clicked. I found that the loaded property of useGoogleLogin hook is always false.

The only way I can do is clicking the refresh button in browser to make login button work, but it is not user-friendly.

This problem exits in v5.1.12 and v5.1.14, but it works well in v5.1.10.

Hope it to be fixed.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
jabzacommented, May 12, 2020

This flow unfortunately is still breaking for me on 5.1.18 Button remains disabled after logout til a forced page refresh

profile.name ?
<GoogleLogout
	clientId="myid"
	theme="dark"
	buttonText="sign out"
	onLogoutSuccess={handleGoogleLogout}
	className="g-btn"
/>
:
<GoogleLogin 
	clientId="myid"
	theme="dark"
	buttonText="sign in"
	cookiePolicy={"single_host_origin"}
	isSignedIn={true}
	onSuccess={handleGoogleLogin}
	className="g-btn"
/>

This was working a few days ago

0reactions
anthonyjgrovecommented, May 13, 2020

Thank you for the example, I was able to repo the issue. Please try 5.1.19

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to log back in after logging out - asp.net core
Logging in, registering, and changing password all works. The problem is, once a user logs out, they cannot log back in again and...
Read more >
Can't login after logging out - Apple Support Communities
while logged in, go to system preferences->accounts->login options and check the box to show input menu at the login window. then log out...
Read more >
What if I've been logged out of the account but it's still ... - Quora
Go to Settings => Security => Saved login info => make it unactive (slide left) => go back to settings =.> log out...
Read more >
1373169 – Can't login again after logout. - Red Hat Bugzilla
Reliable workaround which worked almost all times: After logging out, run `killall -u username -SIGTERM` on the user you just logged out. Please ......
Read more >
Having Issues Logging Back Into Windows 10 After ...
I inadvertently logged out of my account and when I restart the computer, it boots up fine but I can't log back in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found