Need a special offer?Find out if your project fits.
+

withCredentials enabled for Elasticsearch

Answered
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

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 12, 2020

Hello,
 
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,
Illia

Public
test0test0test October 13, 2020

We want to pass the cookie along to the Elasticsearch proxy when the domain name matches!
 
https://www.flexmonster.com/question/flexmonster-elasticsearch/

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster October 13, 2020

Hello,
 
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

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 17, 2020

Hello,
 
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

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster November 24, 2020

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

Please login or Register to Submit Answer