# User Profile in Kibana not visible anymore while proxy authentication?

**URL:** <https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855>\
**Category:** Search Guard\
**Created:** [June 9, 2020, 10:50am UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855 "2020-06-09T10:50:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kosmonafft](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/kosmonafft/32/1010_2.png) [@Kosmonafft](https://forum.search-guard.com/u/Kosmonafft)\
**Post date:** [June 9, 2020, 10:50am UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855/1 "2020-06-09T10:50:37Z")

</div>

Hi guys,

I’ve setup the proxy authenticaiton towards kibana. It works so far in the searchguard gui i can see that I am logged in with the corresponding user passed in the header using x-proxy-user.  
 ![image](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/1X/d4b7f79b3b61c17616cdafc9ea917485f53fa820.png)

The only thing I miss now is the user profile overview in the right upper corner here so i can see that I am logged in with my user:

![image](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/1X/1531d02d765e1201d89e053d920ce3c2735c64b3.png)

Do you have any idea if I can enable this somehow or is it gone forever when I use proxy authentication?

Thanks

---

<div class="post-metadata">

**Author:** ![srgbnd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/srgbnd/32/506_2.png) [@srgbnd](https://forum.search-guard.com/u/srgbnd)\
**Post date:** [June 9, 2020, 4:19pm UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855/2 "2020-06-09T16:19:13Z")

</div>

Hi @Kosmonafft  
You can see the full user name when you click on the icon, can’t you?  
 ![Screenshot 2020-06-09 at 18.14.46](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/1X/e48e7c293a9874a51cdcd8137937548bd4de6751.png)

The old look was deprecated. Because it messed up the top navbar when there was a very long user name. Also, we (SG) need to have some global space to show some more user-related data in the future.

---

<div class="post-metadata">

**Author:** ![Kosmonafft](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/kosmonafft/32/1010_2.png) [@Kosmonafft](https://forum.search-guard.com/u/Kosmonafft)\
**Post date:** [June 10, 2020, 8:23am UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855/3 "2020-06-10T08:23:42Z")

</div>

Thank you for your answer. Yes that what I’d expect. But in my kibana I do not see this icon anymore after I have enabled proxy authenticaiton:

 ![image](https://us1.discourse-cdn.com/flex019/uploads/search_guard/original/1X/b0cc03b9d7a7b39ee9360caa82d898e1f55994ef.png)

The only place where I can see what user I have been logged in is in this searchguard gui user overview as you can see on the first screenshot in my first post.

---

<div class="post-metadata">

**Author:** ![srgbnd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/srgbnd/32/506_2.png) [@srgbnd](https://forum.search-guard.com/u/srgbnd)\
**Post date:** [June 10, 2020, 5:06pm UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855/4 "2020-06-10T17:06:05Z")

</div>

Ok, I understand your point. I looked at the code and saw it was designed to work this way

```auto
if (authType !== 'kerberos' && authType !== 'proxy') {
  chromeHeaderNavControlsRegistry.register($http => {

```

> **[Files · master · search-guard / Search Guard Kibana Plugin · GitLab](https://git.floragunn.com/search-guard/search-guard-kibana-plugin/-/tree/master)**
>
> This plugin for Kibana adds session management, multi tenancy and alerting to a Search Guard secured cluster.

Because we can’t logout when authenticated via Kerberos or proxy. But we can render username there without the logout link if the Kerberos or proxy. I add this to the feature queue.

Btw, the contribution is highly welcomed. If you want you can pull the repo, develop the feature, do the pull request and we merge if it works.

---

<div class="post-metadata">

**Author:** ![Kosmonafft](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/kosmonafft/32/1010_2.png) [@Kosmonafft](https://forum.search-guard.com/u/Kosmonafft)\
**Post date:** [June 11, 2020, 8:51am UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855/5 "2020-06-11T08:51:59Z")

</div>

Alright, thanks for the clarification!

---

<div class="post-metadata">

**Author:** ![Kosmonafft](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/kosmonafft/32/1010_2.png) [@Kosmonafft](https://forum.search-guard.com/u/Kosmonafft)\
**Post date:** [July 22, 2020, 10:52am UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855/6 "2020-07-22T10:52:56Z")

</div>

How would you handle the logout option in this case?

---

<div class="post-metadata">

**Author:** ![srgbnd](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/srgbnd/32/506_2.png) [@srgbnd](https://forum.search-guard.com/u/srgbnd)\
**Post date:** [July 22, 2020, 12:23pm UTC](https://forum.search-guard.com/t/user-profile-in-kibana-not-visible-anymore-while-proxy-authentication/1855/7 "2020-07-22T12:23:19Z")

</div>

> How would you handle the logout option in this case?

Close the browser. Then open the browser and navigate to Kibana (proxy auth enabled). I expect you to see the proxy login prompt.
