---
title: "Comment by mohammad garmabi on \"Refresh Token Using Axios in React\" | Hashnode"
description: "Nice walkthrough. One case worth adding: multiple tabs. The promise queue only dedupes inside one tab, so with refresh token rotation two tabs can refresh at on"
url: "https://hashnode.com/posts/refresh-token-using-axios-in-react/6601603ce3d853b64cd26da3/comment/6af9af00a5c4b2cb7c7c003b"
---

[Discussion](https://hashnode.com/posts/refresh-token-using-axios-in-react/6601603ce3d853b64cd26da3)

Comment [Refresh Token Using Axios in React](https://hashnode.com/posts/refresh-token-using-axios-in-react/6601603ce3d853b64cd26da3)

[mohammad garmabi](https://hashnode.com/@garmabi07)

[Nov 15](https://hashnode.com/posts/refresh-token-using-axios-in-react/6601603ce3d853b64cd26da3/comment/6af9af00a5c4b2cb7c7c003b)

Nice walkthrough. One case worth adding: multiple tabs. The promise queue only dedupes inside one tab, so with refresh token rotation two tabs can refresh at once and trigger reuse detection on the backend. Wrapping the refresh in navigator.locks.request() and syncing the new token with BroadcastChannel fixes it.
