Refresh token rotation logged users out whenever two tabs refreshed at once
After enabling refresh token rotation with reuse detection, users with several tabs open were randomly signed out. Two tabs refreshed with the same token, the server saw reuse and revoked the whole token family. The fix was a single-flight refresh in the client and a short grace window on the server.