Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

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?

3 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

Please login or Register to Submit Answer