I am trying to fetch data from Stardog database using React app. System have Kerberos authentication so I have left the username and password field empty. But the browser shows error in console:
Access to fetch at "{Stardog server url}" from origin localhost:3000 has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Can you please provide the solution for this error ?