# Getting error while bypassing Kibana's login screen

**URL:** <https://discuss.elastic.co/t/getting-error-while-bypassing-kibanas-login-screen/154035>\
**Category:** Kibana\
**Created:** [October 25, 2018, 3:30pm UTC](https://discuss.elastic.co/t/getting-error-while-bypassing-kibanas-login-screen/154035 "2018-10-25T15:30:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Khushboo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Khushboo](https://discuss.elastic.co/u/Khushboo)\
**Post date:** [October 25, 2018, 3:30pm UTC](https://discuss.elastic.co/t/getting-error-while-bypassing-kibanas-login-screen/154035/1 "2018-10-25T15:30:49Z")

</div>

Hi All,

I am trying to hit this url - https:HOST/api/security/v1/login to bypass login screen. What I want to achieve is to navigate from my angular application to Kibana without going to login screen. So, I got to know I can do this by making a post call to this url - https:HOST/api/security/v1/login and I am also passing Kibana version in the header and username password in the parameters. But I am getting below error-

{  
"statusCode": 400,  
"error": "Bad Request",  
"message": "Browser client is out of date, please refresh the page"  
}

Any help would be really appreciated.

Thanks,  
Khushboo

---

<div class="post-metadata">

**Author:** ![Larry\_Gregory](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/larry_gregory/32/34969_2.png) [@Larry\_Gregory](https://discuss.elastic.co/u/Larry_Gregory)\
**Post date:** [October 26, 2018, 5:45pm UTC](https://discuss.elastic.co/t/getting-error-while-bypassing-kibanas-login-screen/154035/2 "2018-10-26T17:45:58Z")

</div>

Hi @Khushboo,

Can I see a sample request? Does the value of the`kbn-version` header match the version of Kibana you are using?

---

<div class="post-metadata">

**Author:** ![Khushboo](https://avatars.discourse-cdn.com/v4/letter/k/7cd45c/32.png) [@Khushboo](https://discuss.elastic.co/u/Khushboo)\
**Post date:** [October 26, 2018, 8:20pm UTC](https://discuss.elastic.co/t/getting-error-while-bypassing-kibanas-login-screen/154035/3 "2018-10-26T20:20:04Z")

</div>

Hi Larry,

Thank you for your response. Ya, kbn-version value matches. Please find the attached Soap- UI screenshot.

 ![kibana](https://us1.discourse-cdn.com/elastic/original/3X/2/2/222b3127da951ef80594a0b160d2a11322af0bda.png)

I tried adding username & password both in header and authorization header, but still getting the same error.

---

<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:** [November 23, 2018, 8:20pm UTC](https://discuss.elastic.co/t/getting-error-while-bypassing-kibanas-login-screen/154035/4 "2018-11-23T20:20:04Z")

</div>

Closed on November 23, 2018, 8:20pm UTC

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