# Kibana logout is invalid

**URL:** <https://discuss.elastic.co/t/kibana-logout-is-invalid/124894>\
**Category:** Kibana\
**Created:** [March 21, 2018, 3:28am UTC](https://discuss.elastic.co/t/kibana-logout-is-invalid/124894 "2018-03-21T03:28:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zxq209](https://avatars.discourse-cdn.com/v4/letter/z/58956e/32.png) [@zxq209](https://discuss.elastic.co/u/zxq209)\
**Post date:** [March 21, 2018, 3:28am UTC](https://discuss.elastic.co/t/kibana-logout-is-invalid/124894/1 "2018-03-21T03:28:42Z")

</div>

I‘m using  
elasticsearch6.2.2 +xpack  
kibana6.2.2 +xpack  
following is kibana.yml

```
server.port: 5601
server.host: "0.0.0.0"
elasticsearch.username: "elastic"
elasticsearch.password: "abcdef"

```

when I access  
`localhost:5601`  
the browser ask me provide the user and the password  
after inputing ,I can access kibana web .

The problem is when I logout,I write the url like `http://192.168.15.145:5601/app/kibana#/management?_g=()` directly into the browser 's address bar,the browser didn't ask my provide the user,password and I can access web without user ,password.

I think once logout,I must login again even though I didn't configure the session parameter.

Something about session,cookie I missed? Or I need configure some parameters in kibana.yml?  
Do I need to delete the cookie manually?  
thanks a lot!

---

<div class="post-metadata">

**Author:** ![Stacey\_Gammon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stacey_gammon/32/14025_2.png) [@Stacey\_Gammon](https://discuss.elastic.co/u/Stacey_Gammon)\
**Post date:** [March 21, 2018, 1:35pm UTC](https://discuss.elastic.co/t/kibana-logout-is-invalid/124894/2 "2018-03-21T13:35:01Z")

</div>

The logout link should have worked. Is it possible you saved your credentials in your browser so it auto-logged you back in after you hit "logout"? What page do you see when you click "logout"? The login screen again?

I was not able to repro this. When I logged out, and then navigated directly to a kibana url, it redirected me back to the login page.

---

<div class="post-metadata">

**Author:** ![zxq209](https://avatars.discourse-cdn.com/v4/letter/z/58956e/32.png) [@zxq209](https://discuss.elastic.co/u/zxq209)\
**Post date:** [March 22, 2018, 1:51am UTC](https://discuss.elastic.co/t/kibana-logout-is-invalid/124894/3 "2018-03-22T01:51:29Z")

</div>

Thank you very much!  
Yes,I saved my credentials in my browser,when I click logout,it turn the login page.  
Thank you for your reminder,I changed the browser and try it again,kibana asked my input user and pwd.  
The problem solved!  
Thanks again!

---

<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:** [April 19, 2018, 1:51am UTC](https://discuss.elastic.co/t/kibana-logout-is-invalid/124894/4 "2018-04-19T01:51:38Z")

</div>

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