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

Patch for xior response interceptors #282

Closed mgoodfellow closed 7 months ago

mgoodfellow commented 7 months ago

See related issue: https://github.com/suhaotian/xior/issues/15

At the moment, rejecting the promise stops other reject handlers firing in later response interceptors.

This is a temporary patch to deal with this case:

Known issues: