# Unable to get credentials popup after reloading or opening the page again?

**URL:** <https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [June 30, 2015, 5:54am UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593 "2015-06-30T05:54:26Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Akhilesh\_Anb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akhilesh_anb/32/4343_2.png) [@Akhilesh\_Anb](https://discuss.elastic.co/u/Akhilesh_Anb)\
**Post date:** [June 30, 2015, 5:54am UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593/1 "2015-06-30T05:54:26Z")

</div>

I have given the admin role to a user. For the first time it is asking credentials, working fine. But, after that if i reload the page or if i open that link again its not asking for credentials. Its opening directly. Why its happening? Please help me. Thanks in advance.

---

<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:** [June 30, 2015, 5:59am UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593/2 "2015-06-30T05:59:13Z")

</div>

It caches your credentials. At this stage you need to either use an incognito style tab or clear your browser cache.

---

<div class="post-metadata">

**Author:** ![Akhilesh\_Anb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akhilesh_anb/32/4343_2.png) [@Akhilesh\_Anb](https://discuss.elastic.co/u/Akhilesh_Anb)\
**Post date:** [June 30, 2015, 6:01am UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593/3 "2015-06-30T06:01:23Z")

</div>

I dont want to clear cache always. For security purpose it should ask credentials everytime if i refresh or open page again. So what can i do for this?

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [June 30, 2015, 12:09pm UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593/4 "2015-06-30T12:09:32Z")

</div>

With HTTP Basic authentication, the browser controls how the credentials are cached (including time period) and there are no directives that can be sent by Shield to inform the browser to clear these credentials.

Just curious, are you primarily accessing elasticsearch via a web browser or are you using Kibana or something else?

---

<div class="post-metadata">

**Author:** ![Akhilesh\_Anb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/akhilesh_anb/32/4343_2.png) [@Akhilesh\_Anb](https://discuss.elastic.co/u/Akhilesh_Anb)\
**Post date:** [June 30, 2015, 2:49pm UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593/5 "2015-06-30T14:49:35Z")

</div>

Im accessing elasticsearch and kibana through Browser ( Google Chrome)

---

<div class="post-metadata">

**Author:** ![jaymode](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jaymode/32/50103_2.png) [@jaymode](https://discuss.elastic.co/u/jaymode)\
**Post date:** [June 30, 2015, 5:58pm UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593/6 "2015-06-30T17:58:36Z")

</div>

We're working on improving this inside of Kibana 4. For more details see [https://github.com/elastic/kibana/issues/3904](https://github.com/elastic/kibana/issues/3904)

---

<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:** [July 6, 2017, 1:49pm UTC](https://discuss.elastic.co/t/unable-to-get-credentials-popup-after-reloading-or-opening-the-page-again/24593/7 "2017-07-06T13:49:02Z")

</div>


