You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My use case is renewing an auth token if it is expired before each call.
So I'd like to be able to define a async .use middleware that will check the timestamp and make another request to renew the token if necessary before continuing.
Maybe I'm missing something obvious?
The text was updated successfully, but these errors were encountered:
My use case is renewing an auth token if it is expired before each call.
So I'd like to be able to define a async
.use
middleware that will check the timestamp and make another request to renew the token if necessary before continuing.Maybe I'm missing something obvious?
The text was updated successfully, but these errors were encountered: