
· Asep Alazhari · Web Development
Fixing JWT Refresh Race Conditions Across Browser Tabs
Multiple tabs refreshing the same JWT at once cause duplicate calls and random logouts. Here is how the Web Locks API and a few guards fix it for good.

Multiple tabs refreshing the same JWT at once cause duplicate calls and random logouts. Here is how the Web Locks API and a few guards fix it for good.