Kibana authentication when sharing the dashboard in web application

yes injected the basic auth in the request . but is showing an error

response for preflight is invalid http status code 401

in firebug of chrome