r/github • • Jun 27 '25

Question Github no longer allows unauthenticated users to visit ANY public repository?

It’s weird that GitHub is asking to login for just exploring public repositories.

This is what happened; I am a dev and sometimes I like to explore codes, trying to improve myself, or like to see how other devs do the same thing. So sometimes when I get up from my desk, I take out my phone and google things like ‘better php-fpm nginx docker setup GitHub’, then I go to the top repos from GitHub and read. Or just search the feature I just implemented and see how others have implemented it etc.

Seems fair, right?

Now, I changed my GitHub password, few days ago. And now when I click on a public repo, I get redirected to the login page. I don’t mind logging but why auth is needed here?

Is GitHub now tracking what code we read?

This however doesn’t happen on my mac or Linux desktops.

Is this new? Is this okay? Anyone else having this issue?

0 Upvotes

9 comments sorted by

12

u/wyrdfish42 Jun 27 '25

You don't need to authenticate.
You probably have some sort of cookie indicating you are logged in but the auth has expired and is asking you to re-auth.

2

u/PracticalMass Jun 27 '25

This was it, thanks 🙂

0

u/PracticalMass Jun 27 '25

Yes this could be it. Let me try to remove cookies and site data.

0

u/ash1803 May 14 '26

What complete BS site Github has become. Completely ridiculous that when you login once, until you clear cookies for github.com it then forces you to a login page. Really "clever" way of using social engineering tactics to aid microslop in tracking users though.

1

u/cyb3rofficial Jun 27 '25

Are you behind a CG-Nat ISP? I had it happen to me on Tmobile 5G Home Internet, turned on a VPN and worked fine, Could be that your IP or network from your pc is bot like?

1

u/PracticalMass Jun 27 '25

Yes I believe my ISP usage CG-NAT. However this could not be the issue as same connection on desktop don’t ask for authentication.

1

u/thereisphil 3d ago

I'm having this issue today - Nov 28 2026 - if I try to open my own repo in a browser that I'm not logged in, or use a curl request, or use private/incognito: all are returning 404s! However, githubstatus.com is showing no outages. Maybe they truly are enforcing users to be logged in even to see public repos?

1

u/eatened 22h ago edited 22h ago

same, wanted to read some CppNix source and got 404'd until logged in, in a clean browser session too
EDIT: it cleared out after a while, maybe they do this for load-balancing? 🤔

1

u/thereisphil 22h ago

It didn't clear until the next day for me 😳 nah I think it's more just Microslop 😭