I have a Web API using the ADO.NET Framework and I removed the authentication and authorization fields in the web.config
file, yet in google chrome the authentication window keeps coming.
How to remove the window ?
I tried removing the authorization element, authentication element and yet the authentication window keeps popping. I tried making it set to NONE and still the window keeps coming.
I am running the api on localhost and when I cut the window, I obviously get the error message:
{
"error":{
"code":"","message":"Authorization has been denied for this request."
}
}
My contoller has no authentication or authorization headers and I have just one function in my contoller class which is derived from OData Controller class.
[HttpGet, EnableQuery]
public IQueryable<Record> GetRecord(ODataQueryOptions<Record> options)