# Kibana 7.6.1 How to set request headers before plugins setup

**URL:** <https://discuss.elastic.co/t/kibana-7-6-1-how-to-set-request-headers-before-plugins-setup/231447>\
**Category:** Kibana\
**Created:** [May 7, 2020, 3:51am UTC](https://discuss.elastic.co/t/kibana-7-6-1-how-to-set-request-headers-before-plugins-setup/231447 "2020-05-07T03:51:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![GiGi\_Hs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gigi_hs/32/67847_2.png) [@GiGi\_Hs](https://discuss.elastic.co/u/GiGi_Hs)\
**Post date:** [May 7, 2020, 3:51am UTC](https://discuss.elastic.co/t/kibana-7-6-1-how-to-set-request-headers-before-plugins-setup/231447/1 "2020-05-07T03:51:55Z")

</div>

I use iframe to embed the kibana page and i want to get the cookie info and set it to all request headers before sending any request.

Starting kibana, while the plugins setting up, some plugin sends request to the es server. I have to set the authorization info from cookie into the request headers.

Can someone help me pls

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [May 11, 2020, 4:12pm UTC](https://discuss.elastic.co/t/kibana-7-6-1-how-to-set-request-headers-before-plugins-setup/231447/2 "2020-05-11T16:12:32Z")

</div>

You can probably achieve this with a proxy between the Kibana and ES server, but it really depends on your setup.

---

<div class="post-metadata">

**Author:** ![GiGi\_Hs](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gigi_hs/32/67847_2.png) [@GiGi\_Hs](https://discuss.elastic.co/u/GiGi_Hs)\
**Post date:** [May 22, 2020, 9:03am UTC](https://discuss.elastic.co/t/kibana-7-6-1-how-to-set-request-headers-before-plugins-setup/231447/4 "2020-05-22T09:03:52Z")

</div>

Thanks. I have used the nginx reverse proxy to set the Kibana request headers which has solved my problem.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [June 19, 2020, 9:03am UTC](https://discuss.elastic.co/t/kibana-7-6-1-how-to-set-request-headers-before-plugins-setup/231447/5 "2020-06-19T09:03:57Z")

</div>

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