# Kibana - Redirect to the previous URL after Login

**URL:** <https://discuss.elastic.co/t/kibana-redirect-to-the-previous-url-after-login/100545>\
**Category:** Kibana\
**Created:** [September 14, 2017, 1:25pm UTC](https://discuss.elastic.co/t/kibana-redirect-to-the-previous-url-after-login/100545 "2017-09-14T13:25:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piyusha](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@piyusha](https://discuss.elastic.co/u/piyusha)\
**Post date:** [September 14, 2017, 1:25pm UTC](https://discuss.elastic.co/t/kibana-redirect-to-the-previous-url-after-login/100545/1 "2017-09-14T13:25:19Z")

</div>

Hi,  
I've done some custom authentication in Kibana. And everytime I restart kibana, or the specific session token timeouts, I got logged out of kibana. Which is the behavior I wanted to integrated. But when I log in to kibana again, it does not maintain the URL I was working on before login. It redirects me to the default redirect URL of Kibana that is [http://0.0.0.0:5601/app/kibana](http://0.0.0.0:5601/app/kibana).  
Can I set some property so that it won't redirect me to default URL after login and maintains the previously visited URL?  
Or is there any workaround ?  
I'm using Kibana 4.5.3.

---

<div class="post-metadata">

**Author:** ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)\
**Post date:** [September 14, 2017, 7:03pm UTC](https://discuss.elastic.co/t/kibana-redirect-to-the-previous-url-after-login/100545/2 "2017-09-14T19:03:36Z")

</div>

No such property exists. You can open an enhancement issue at [https://github.com/elastic/kibana/issues](https://github.com/elastic/kibana/issues) to track the feature request

---

<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:** [October 12, 2017, 7:03pm UTC](https://discuss.elastic.co/t/kibana-redirect-to-the-previous-url-after-login/100545/3 "2017-10-12T19:03:45Z")

</div>

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