# Openid based user access changes is not reflecting immediately in elasticsearch

**URL:** <https://discuss.elastic.co/t/openid-based-user-access-changes-is-not-reflecting-immediately-in-elasticsearch/209459>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security\
**Created:** [November 26, 2019, 9:54am UTC](https://discuss.elastic.co/t/openid-based-user-access-changes-is-not-reflecting-immediately-in-elasticsearch/209459 "2019-11-26T09:54:28Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![soumendra](https://avatars.discourse-cdn.com/v4/letter/s/b2d939/32.png) [@soumendra](https://discuss.elastic.co/u/soumendra)\
**Post date:** [November 26, 2019, 11:19am UTC](https://discuss.elastic.co/t/openid-based-user-access-changes-is-not-reflecting-immediately-in-elasticsearch/209459/5 "2019-11-26T11:19:15Z")

</div>

I just hit:

`POST {{es_ip_port}}/_security/realm/oidc1/_clear_cache?usernames=xyz@wxy.com`

Nobody able to login to the Kibana now. It's telling unauthorized and state and nonce issue. Opened [another topic thread](https://discuss.elastic.co/t/response-session-state-does-not-have-corresponding-state-or-nonce-parameters-or-redirect-url/209484) for this. How to resolve this?

---

_[View the full topic](https://discuss.elastic.co/t/openid-based-user-access-changes-is-not-reflecting-immediately-in-elasticsearch/209459)._
