# How do i only authenticate once?

**URL:** <https://forum.search-guard.com/t/how-do-i-only-authenticate-once/1274>\
**Category:** Search Guard\
**Created:** [January 8, 2019, 2:40pm UTC](https://forum.search-guard.com/t/how-do-i-only-authenticate-once/1274 "2019-01-08T14:40:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![victorvic](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@victorvic](https://forum.search-guard.com/u/victorvic)\
**Post date:** [January 8, 2019, 2:40pm UTC](https://forum.search-guard.com/t/how-do-i-only-authenticate-once/1274/1 "2019-01-08T14:40:09Z")

</div>

Searchguard: 6.5.4

Elasticsearch: 6.5.4 & kibana 6.5.4

JVM 1.8-131 Centos 7

Hello, i just installed search guard with the corresponding kibana plugin and i found out that i have to authenticate myself two times before i get to kibana.

1. First when i go to [https://127.0.0.1:443](https://127.0.0.1:443) (we have a nginx reverse proxy before kibana) i get a standard http authentication popup where i have to enter username and password

2. Then i have to enter username and password again i the search guard login page

I want to only use the search guard login page, how and what should i change to achieve this?

---

<div class="post-metadata">

**Author:** ![searchguard\_google\_group](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/searchguard_google_group/32/462_2.png) [@searchguard\_google\_group](https://forum.search-guard.com/u/searchguard_google_group)\
**Post date:** [January 8, 2019, 5:14pm UTC](https://forum.search-guard.com/t/how-do-i-only-authenticate-once/1274/2 "2019-01-08T17:14:05Z")

</div>

You need to disable spaces in kibana.yml

&nbsp;&nbsp;&nbsp;&nbsp;xpack.spaces.enabled: false

See [Search Guard Documentation 404 | Security for Elasticsearch | Search Guard](https://docs.search-guard.com/latest/upgrading-560#kibana-spaces)

> **···**
>
> > Am 08.01.2019 um 15:40 schrieb Victor Nilsson \<victornilsson2456@gmail.com\>:
> > 
> > Searchguard: 6.5.4  
> > Elasticsearch: 6.5.4 & kibana 6.5.4  
> > JVM 1.8-131 Centos 7
> > 
> > Hello, i just installed search guard with the corresponding kibana plugin and i found out that i have to authenticate myself two times before i get to kibana.  
> > 1. First when i go to [https://127.0.0.1:443](https://127.0.0.1:443) (we have a nginx reverse proxy before kibana) i get a standard http authentication popup where i have to enter username and password  
> > 2. Then i have to enter username and password again i the search guard login page
> > 
> > I want to only use the search guard login page, how and what should i change to achieve this?
> > 
> > --  
> > You received this message because you are subscribed to the Google Groups "Search Guard Community Forum" group.  
> > To unsubscribe from this group and stop receiving emails from it, send an email to search-guard+unsubscribe@googlegroups.com.  
> > To post to this group, send email to search-guard@googlegroups.com.  
> > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/050730e1-d2f4-40bd-b0d0-1b936fc69632%40googlegroups.com\](https://groups.google.com/d/msgid/search-guard/050730e1-d2f4-40bd-b0d0-1b936fc69632%40googlegroups.com%5C).  
> > For more options, visit [https://groups.google.com/d/optout\](https://groups.google.com/d/optout%5C).

---

<div class="post-metadata">

**Author:** ![victorvic](https://avatars.discourse-cdn.com/v4/letter/v/b5ac83/32.png) [@victorvic](https://forum.search-guard.com/u/victorvic)\
**Post date:** [January 9, 2019, 11:22am UTC](https://forum.search-guard.com/t/how-do-i-only-authenticate-once/1274/3 "2019-01-09T11:22:29Z")

</div>

Thank you.

> **···**
>
> On Tuesday, 8 January 2019 18:14:07 UTC+1, Search Guard wrote:
> 
> > You need to disable spaces in kibana.yml
> > 
> > ```
> > xpack.spaces.enabled: false
> > 
> > ```
> > 
> > See [https://docs.search-guard.com/latest/upgrading-560#kibana-spaces](https://docs.search-guard.com/latest/upgrading-560#kibana-spaces)
> > 
> > > Am 08.01.2019 um 15:40 schrieb Victor Nilsson [victorni...@gmail.com](mailto:victorni...@gmail.com):
> > 
> > > Searchguard: 6.5.4
> > 
> > > Elasticsearch: 6.5.4 & kibana 6.5.4
> > 
> > > JVM 1.8-131 Centos 7
> > 
> > > Hello, i just installed search guard with the corresponding kibana plugin and i found out that i have to authenticate myself two times before i get to kibana.
> > 
> > > 1. First when i go to [https://127.0.0.1:443](https://127.0.0.1:443) (we have a nginx reverse proxy before kibana) i get a standard http authentication popup where i have to enter username and password
> > 
> > > 1. Then i have to enter username and password again i the search guard login page
> > 
> > > I want to only use the search guard login page, how and what should i change to achieve this?
> > 
> > > –  
> > > You received this message because you are subscribed to the Google Groups “Search Guard Community Forum” group.
> > 
> > > To unsubscribe from this group and stop receiving emails from it, send an email to [search-guard...@googlegroups.com](mailto:search-guard...@googlegroups.com).
> > 
> > > To post to this group, send email to [search...@googlegroups.com](mailto:search...@googlegroups.com).
> > 
> > > To view this discussion on the web visit [https://groups.google.com/d/msgid/search-guard/050730e1-d2f4-40bd-b0d0-1b936fc69632%40googlegroups.com](https://groups.google.com/d/msgid/search-guard/050730e1-d2f4-40bd-b0d0-1b936fc69632%40googlegroups.com).
> > 
> > > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).
