Authentication while searching for content in a website

Hi,

I have entered a URL in the KB. When I ask questions related to the portal, it is asking to authenticate. should we always use a public portal? how to handle authentication?