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
I call many api at same time , but I see when token expire I got 401 , so it's goes to refresh token and retry , but in the same time the other api request in queue gets called and try to refresh the token again , so refresh api return 422 error . so it should only calling only once .
so how to pause the all other apis request until the token it gets refreshed ?
Hi ,
I call many api at same time , but I see when token expire I got 401 , so it's goes to refresh token and retry , but in the same time the other api request in queue gets called and try to refresh the token again , so refresh api return 422 error . so it should only calling only once .
so how to pause the all other apis request until the token it gets refreshed ?
using http_interceptor: ^2.0.0-beta.7
`
`
The text was updated successfully, but these errors were encountered: