# Muiltiple tab logout issue

**URL:** <https://forum.keycloak.org/t/muiltiple-tab-logout-issue/21557>\
**Category:** Getting advice\
**Created:** [April 18, 2023, 12:33am UTC](https://forum.keycloak.org/t/muiltiple-tab-logout-issue/21557 "2023-04-18T00:33:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxuancheng](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/lxuancheng/32/8326_2.png) [@lxuancheng](https://forum.keycloak.org/u/lxuancheng)\
**Post date:** [April 18, 2023, 12:33am UTC](https://forum.keycloak.org/t/muiltiple-tab-logout-issue/21557/1 "2023-04-18T00:33:15Z")

</div>

I’m using `keycloak-js` to integrate in my front end project (React). It’s working pretty well, but when I have 2 or more tabs of my system, only the last one is able to refresh token, the others get error 400 and are redirected to logout confirmation page.

I found some similar case on the internet, but I couldn’t find any solution yet.

I’m using keycloak-js@21.0.1 and my init config are like this:

```auto
onLoad: 'check-sso',
silentCheckSsoRedirectUri: window.location.origin + '/silent-check-sso.html',

```

 ![image](https://global.discourse-cdn.com/free1/uploads/keycloak/original/2X/d/ddbb6f5642740b19f29159ee65c15d21747af44a.png)

Is there anyone fixing the same issue? how can I fix this?

---

<div class="post-metadata">

**Author:** ![timotheos](https://yyz2.discourse-cdn.com/free1/user_avatar/forum.keycloak.org/timotheos/32/10071_2.png) [@timotheos](https://forum.keycloak.org/u/timotheos)\
**Post date:** [March 26, 2024, 4:11pm UTC](https://forum.keycloak.org/t/muiltiple-tab-logout-issue/21557/2 "2024-03-26T16:11:40Z")

</div>

@lxuancheng hi, I’ve stumbled across the same issue, have you figured it out?
