apollo-link-token-refresh icon indicating copy to clipboard operation
apollo-link-token-refresh copied to clipboard

Retry a failed query after token is refreshed

Open maxperry opened this issue 2 years ago • 0 comments

What's the best way to retry a query that 401 failed when the token needs to be refreshed as a result of isTokenValidOrUndefined. I'm also using @apollo/client/link/retry but doesn't seem to handle it. Does anyone have a good example?

maxperry avatar Jul 15 '22 19:07 maxperry