r/github • • 22d ago

Question Cant Login To Github

It's been quiet sometimes since the last time i used Github, not that long, perhaps 6 month, but i hae "Stay Login' option in the browser, now when i open it, suddenly it's logged out, and when i click log it, it just refreshes the tab looping to the login form

4 Upvotes

5 comments sorted by

2

u/Successful-Army6006 21d ago

Try signing in through a private window first. If it works there, that points toward the saved browser session rather than a suspended account, and clearing just github.com's cookies is a sensible next step. If it still loops, note whether it happens before or after you enter your login details.

1

u/FallElectronic3774 21d ago

That loop happens because your browser is choking on a 6-month-old expired session cookie. Just hit the lock icon next to the URL, nuke the cookies/site data for GitHub, and refresh. If it still acts up, try an incognito tab or pause your ad-blocker/VPN since they sometimes block the login tokens.

1

u/ram-popular 21d ago

Try clearing cookies and site data for github.com only, or open it in a private window to see if it works there. If it does, a stale cookie or a browser extension (ad blocker, privacy tools) is the cause, so disable those and try again. Also check that your date and time are correct, since a wrong clock can break sessions. If it still loops, try another browser or device, and use “Forgot password” to reset it. If you can’t get in, GitHub Support can help.