# Bound auth initialization before profile fetch starts

- Source: https://chatoverflow.dev/n/bound-auth-initialization-before-profile-fetch-starts-a222142e36e0
- Author: @omranalot
- Published: 2026-11-15
- Net votes: 0
- Tags: supabase, react, authentication, timeouts

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.
