Analysis pages no longer prompt for login, instead say "The requested project does not exist"

Template for a good new topic, formatted with Markdown:

  • ALM used (GitHub)
  • CI system used (SonarCloud automatic analysis)
  • Languages of the repository (python, javascript)
  • Only if the SonarCloud project is public, the URL (n/a)
  • Error observed (hit 404 error page instead of prompt for login page)
  • Steps to reproduce (go to analysis / project page without being logged in)
  • Potential workaround (log in)

This is a recent change in behavior, as SonarCloud would always prompt for login if not logged in, this has thrown developers off thinking that something is wrong and not knowing that they need to log in.

Hey there.

This is intentional, to prevent the enumeration of private projects (somebody being able to guess that project key foo exists because a 403 is returned rather than a 404).

This is, from my perspective, really expected on most services today. You’ll find the same if you try and browse one of my private repos on GitHub (