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
Please verify if this is the correct flow or not I was not expecting "beforeRequest "to be called again after "beforeRetry", my use case is that I refresh the token and set the Authorization header in "beforeRetry "but it gets overridden by "beforeRequest".
thanks in advance.
The text was updated successfully, but these errors were encountered:
I think this is expected behavior. It's called for every single request with no exception. A retry is a request. We should clearly point that out in the docs, however.
Maybe the request could somehow indicate that it's a request caused by a retry.
Please verify if this is the correct flow or not I was not expecting "beforeRequest "to be called again after "beforeRetry", my use case is that I refresh the token and set the Authorization header in "beforeRetry "but it gets overridden by "beforeRequest".
thanks in advance.
The text was updated successfully, but these errors were encountered: