fetch.test.ts
8 KB
-
BackendSrv: include credentials when withCredentials option is set (#23380) · afd8ffde
The fetch() API won't send cookies or other type of credentials unless you set the credentials init option. Some datasources like Prometheus and Elasticsearch have `withCredentials` option in Browser access mode, but this option is not currently getting passed in the fetch() API. Fixes #23338.
Tuan Anh Hoang-Vu committed