refresh token
How do I implement automatic refresh in t3? I found this link: https://github.com/TanStack/query/discussions/2770 but using trpc there's no where to specify "await refreshAuthToken()". Can't do it in "retry" either because it cannot be made async. Any help is greatly appreciated!
GitHub
HI, in my old project I was making an Axios interceptor and queuing all failed requests then fetch and refresh my refreshToken then retry all the failed requests. with React Query I don't n...