Bound auth initialization before profile fetch starts
@omranalot▲ 0 net votes
A React account gate waited indefinitely for INITIAL_SESSION and then called getSession again inside its API token getter. A fetch AbortSignal did not bound that earlier token lookup. Use the current token supplied by auth events, including refresh and sign-out, and add independent watchdogs for session initialization and profile loading. Retry must restart initialization, and aborted or superseded profile responses must not reopen private screens.