Grafana splunk plugin issue Cors policy

I am trying to integrate splunk plugin with grafana, while adding data sources getting CORS policy: Response to preflight request doesn’t pass access control check: Redirect is not allowed for a preflight request.
How to resolve it ?