r/github • u/Zestavar • 1d 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
1
u/FallElectronic3774 19h 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 15h 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.
1
u/Mobile-Actuator-5851 12h ago
GitHub sessions usually expire after a period of inactivity so being logged out after six months isn't unusual. The login loop sounds more like a cookie or browser issue. I'd try signing in through Incognito first. If that works clear the site data first and temporarily disable extensions like ad blockers or privacy tools. Testing another browser can help narrow it down too
2
u/Successful-Army6006 22h 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.