🍉 Meet Flexmonster Pivot Table & Charts 2.9.Check out all hot features!
Get Free Trial

withCredentials enabled for Elasticsearch

test0test0test asked on October 12, 2020
  • withCredentials (optional) – Boolean. It indicates whether cross-site Access-Control requests should be made using credentials such as authorization headers (true) or not (false). For more details refer to MDN web docs.
    Setting the withCredentials flag to true is recommended when using Windows authentication and other types of server authentications. When set to false, the browser does not request credentials, as well as does not include them into outgoing requests. Only for "api" and "microsoft analysis services" (both XMLA protocol and Flexmonster Accelerator) data source types. Default value: false.

Can I check if withCredentials can be enabled for Elasticsearch?

5 answers

Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 12, 2020

Thank you for contacting us.
We want to notice that currently, the withCredentials property is not supported for Elasticsearch data source. It is only available for "api" and "microsoft analysis services" data source types.
Please describe the result you want to achieve using the withCredentials property. It would allow us to find the most suitable solution for your case.
Our team is looking forward to hearing from you.
Kind regards,

test0test0test October 13, 2020

We want to pass the cookie along to the Elasticsearch proxy when the domain name matches!

Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 13, 2020

Thank you for providing us with details.
Our team is going to add support for the withCredentials property for Elasticsearch.
The feature will be included in a minor update ETA Nov 16.
We will notify you as soon as the version with a feature is available to download.
Feel free to contact us in case any other questions arise.
Kind regards,

Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 17, 2020

We are glad to inform you that now withCredentials property is also supported for CSV, JSON, and Elasticsearch data sources.
This is included in the 2.8.20 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component.
Here is our updating to the latest version tutorial for guidance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
Feel free to write to us in case of questions.
Best Regards,

Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 24, 2020

Our team is wondering whether the recently introduced feature works for you.
We are looking forward to your feedback.

Please login or Register to Submit Answer