# User authentication problem

**URL:** <https://discuss.elastic.co/t/user-authentication-problem/289202>\
**Category:** Kibana\
**Created:** [November 15, 2021, 1:34pm UTC](https://discuss.elastic.co/t/user-authentication-problem/289202 "2021-11-15T13:34:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![McElroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcelroy/32/24639_2.png) [@McElroy](https://discuss.elastic.co/u/McElroy)\
**Post date:** [November 15, 2021, 1:34pm UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/1 "2021-11-15T13:34:00Z")

</div>

Hi,

we have a problem with Kibana and XPack. We send out a URL to a specific dashboard to one of our users. When he authenticate with his credentials, he gets a server error. After refreshing the page, he gets onto the dashboard immediately. When I try the same with my admin account, it works without an issue. Any ideas?

We are currently using 6.5.1.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 15, 2021, 10:42pm UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/2 "2021-11-15T22:42:02Z")

</div>

6.4 is [EOL](https://www.elastic.co/support/eol) and no longer supported, please upgrade.

> [@McElroy](#):
>
> he gets a server error

What is the error exactly  
What do the Kibana logs show?

---

<div class="post-metadata">

**Author:** ![McElroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcelroy/32/24639_2.png) [@McElroy](https://discuss.elastic.co/u/McElroy)\
**Post date:** [November 16, 2021, 6:46am UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/3 "2021-11-16T06:46:45Z")

</div>

kibana doesn't show anything regarding that. I can't find anything regarding the user in the logs.  
Also the apache responds with a 404...  
I will try to drill down a bit deeper today and get back to you with more information.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 16, 2021, 7:06am UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/4 "2021-11-16T07:06:54Z")

</div>

Can you clarify on what Apache has to do with this?

---

<div class="post-metadata">

**Author:** ![McElroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcelroy/32/24639_2.png) [@McElroy](https://discuss.elastic.co/u/McElroy)\
**Post date:** [November 16, 2021, 7:23am UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/5 "2021-11-16T07:23:44Z")

</div>

the apache does a reverse proxy to kibana.

---

<div class="post-metadata">

**Author:** ![McElroy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mcelroy/32/24639_2.png) [@McElroy](https://discuss.elastic.co/u/McElroy)\
**Post date:** [November 16, 2021, 8:37am UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/6 "2021-11-16T08:37:14Z")

</div>

From what I see, our url changes after the login:

```auto
https://our_url.xxx/od/s/some-space/app/kibana#/dashboards?_g=(refreshInterval:(pause:!t,value:0),time:(from:now%2Fd,mode:quick,to:now%2Fd))
https://our_url.xxx/od#/dashboards?_g=(refreshInterval:(pause:!t,value:0),time:(from:now%2Fd,mode:quick,to:now%2Fd))

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [November 16, 2021, 9:53pm UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/7 "2021-11-16T21:53:51Z")

</div>

I would suggest removing Apache and then seeing if this works, then go from there.

---

<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:** [December 14, 2021, 9:54pm UTC](https://discuss.elastic.co/t/user-authentication-problem/289202/8 "2021-12-14T21:54:24Z")

</div>

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