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
Hi,
I'm using the RetryClient() to refresh the access token if expired and then try the request again.
However when retrying the request, the old access token is sent and not the new one.
This is how I configured my RetryClient:
Found the problem. Currently the _onRetry function is a void Function, wheras it should be a Future function in order to accept future functions as well.
Hi,
I'm using the RetryClient() to refresh the access token if expired and then try the request again.
However when retrying the request, the old access token is sent and not the new one.
This is how I configured my RetryClient:
I'm guessing that the req element passed to onRetry can't be used to update the req that is actually sent when retrying.
How can I solve this?
Thanks :)
The text was updated successfully, but these errors were encountered: