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.
TypeScriptMIT
Issues
- 1
Cannot call request api 401 again after get new acccessToken when using react-query
#283 opened by ducyb782001 - 3
import('axios-auth-refresh') wraped with default
#251 opened by Ti-webdev - 1
Default import not working
#284 opened by Sarang-khajuria - 0
- 0
Wrong content-type on retry for POST
#285 opened by rlsystems - 4
Multiple Request Pause is not working
#248 opened by erdemsusam - 0
12
#277 opened by youdianfan - 7
- 2
response.use will enter twice when retry
#187 opened by luchanan - 2
Problem using axios-auth-refresh with react-query
#258 opened by Arsh1a - 1
React Native 0.72.1 ?
#259 opened by billnbell - 0
- 5
onRetry never firing
#190 opened by Dem0n3D - 0
async shouldRefresh
#229 opened by reslear - 0
Resend request with multipart/formdata
#225 opened by generated - 4
- 0
- 1
- 1
- 2
- 1
- 1
Implementation example
#188 opened by ScreamZ - 2
How to handle a 401 "Refresh token is invalid" error
#191 opened by denisoed - 2
Request is not being re-triggered after re-auth
#194 opened by rota-rossi - 1
- 1
Each call is getting duplicated
#196 opened by umstek - 2
should refresh
#186 opened by Burane - 1
How to avoid multiple token refresh requests when making simultaneous API requests with an expired token
#185 opened by ahmetbasdan - 0
Server side usage question
#178 opened by sb89 - 5
Interceptor does not work with multiple interceptors when attempting to pause
#156 opened by tarang9211 - 6
The request does not return to its original promise and instance is not paused until refresh is complete
#149 opened by ammarrush - 1
Redirect to login on failure
#174 opened by singhtrustcom - 3
Redirect to login on failure
#173 opened by peterkronenberg - 3
Not exported types
#170 opened by www-chique - 7
Improve the "Pause the instance while "refresh logic" is running" section of the docs
#152 opened by paveldz - 1
Some questions regarding your library
#150 opened by ghasemikasra39 - 2
Improve docs on Request Interceptor
#148 opened by cristian-rita - 0
- 1
Docs improvement on usage section
#164 opened by jacklimwenjie - 2
- 6
How implement AxiosAuthRefreshRequestConfig type
#162 opened by luisfuertes - 1
- 1
Unexpected Any. Specify a different type
#159 opened by aabanaag - 4
Add refresh fails logic
#138 opened by alexanderkraemer - 1
Call oauth refreshAuthToken before first request
#147 opened by thomaschaaf - 1
Unable to call multiple api inside interceptor
#142 opened by ekacahya21 - 1
Server-Side Request Forgery on axios
#141 opened by rokde - 1
Bump Axios peerDependencies to ~0.21.1
#144 opened by HaralayyaS-ELS-CT - 1
Need a release with support for axios 0.21.1
#143 opened by rjray - 1
Unable to install with axios 0.21.1 dependency
#135 opened by jagadeeshkoka