# Keep the Kibana URL after successfull authentication using openid

**URL:** <https://forum.search-guard.com/t/keep-the-kibana-url-after-successfull-authentication-using-openid/2165>\
**Category:** Search Guard\
**Created:** [May 18, 2021, 11:32am UTC](https://forum.search-guard.com/t/keep-the-kibana-url-after-successfull-authentication-using-openid/2165 "2021-05-18T11:32:29Z")\
**Posts on this page:** 5\
**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:** [May 18, 2021, 11:32am UTC](https://forum.search-guard.com/t/keep-the-kibana-url-after-successfull-authentication-using-openid/2165/1 "2021-05-18T11:32:30Z")

</div>

Hi,

I am running kibana 7.6.2 and the corresponding search guard plugin. When I send a user a kibana url with some query, they always need to open the link twice:

First time in order to authenticate to keycloak and get redirected to the default page (redirect url)  
Second time in order to open the query because they are already authenticated.

How can I avoid it and provide the correct query already inside the redirect url just after authenticated to keycloak?

Thank you

---

<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:** [May 19, 2021, 10:18am UTC](https://forum.search-guard.com/t/keep-the-kibana-url-after-successfull-authentication-using-openid/2165/2 "2021-05-19T10:18:46Z")

</div>

Hi. Thanks for reporting this. We work on the issue: [Investigate problems with the redirect url after a login (#363) · Issues · search-guard / Search Guard Kibana Plugin · GitLab](https://git.floragunn.com/search-guard/search-guard-kibana-plugin/-/issues/363)

---

<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:** [May 19, 2021, 10:42am UTC](https://forum.search-guard.com/t/keep-the-kibana-url-after-successfull-authentication-using-openid/2165/3 "2021-05-19T10:42:33Z")

</div>

Thanks for the Feedback. Do you know any workaround so long?

---

<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:** [May 19, 2021, 12:44pm UTC](https://forum.search-guard.com/t/keep-the-kibana-url-after-successfull-authentication-using-openid/2165/4 "2021-05-19T12:44:19Z")

</div>

Unfortunately there is no workaround now.

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.search-guard.com/system/32/1870_2.png) [@system](https://forum.search-guard.com/u/system)\
**Post date:** [June 9, 2021, 12:45pm UTC](https://forum.search-guard.com/t/keep-the-kibana-url-after-successfull-authentication-using-openid/2165/5 "2021-06-09T12:45:04Z")

</div>

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