-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple Request Pause is not working #248
Comments
There is a special option in createAuthRefreshInterceptor
|
That special option did not help @ValeriaVasilieva |
i have issue same as @viktorkrepak . |
Facing same issue pauseInstanceWhileRefreshing is not working as expected. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
First of all thanks for this library.
Lib versions:
First of all here is my configurationg:
My problem is that library's request interceptor is not pausing active requests if 401 is taken. Also refresh is triggered again.
This is how I call requests:
And axios instance is:
As I review codes, my understanding is library pauses any request after first 401 reponse, then refresh is called. Then if refresh resolves, continues with paused requests, if refresh fail (with Pormise.reject) remaining requests canceled. I'm using Vue.
Any help is appreciated, thanks.
The text was updated successfully, but these errors were encountered: