Flyrell / axios-auth-refresh

Library that helps you implement automatic refresh of authorization via axios interceptors. You can easily intercept the original request when it fails, refresh the authorization and continue with the original request, without user even noticing.
MIT License
1.06k stars 91 forks source link

Each call is getting duplicated #196

Closed umstek closed 2 years ago

umstek commented 2 years ago
image

As you can see here, (except the preflight) two requests are made per each request, one with auth token and one without.

Flyrell commented 2 years ago

Please provide minimal reproduction somewhere we can see. Thank you, I'll closing this for now.