TanStackT
TanStack5mo ago
11 replies
full-green

How do i read auth tokens during http request with axios?

I want to call react query inside loader but my axios don't have auth tokens in header (currently doing session cookie)
but my auth is being failed due to lack of auth tokens.
how do i handle auth tokens in ssr pages?
Was this page helpful?