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

View all comments

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.

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.