Access-Control-Allow-Credentials Header

Hi Community,

Is there a way to have Kibana return a response with header 'Access-Control-Allow-Credentials: true'?

I already had server.cors and server.cors.origin settings in kibana.yml

Thanks

Hi, did you try server.customResponseHeaders?

Default: {} Header names and values to send on all responses to the client from the Kibana server.

https://www.elastic.co/guide/en/kibana/current/settings.html

Sounds like you can use this to set Access-Control-Allow-Credentials

It worked! It's right under the cors.origin documentation but somehow I missed it.

Thank you very much!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.