I have implemented axios-retry which works very well for retrying a API endpoint in my Vue application if for instance the accessToken is expired and a new one is requested. I'm trying this 5 times, before triggering the onMaxRetryTimesExceededHandler in my code. But somehow this function is not triggered. What am i doing wrong:
I have implemented axios-retry which works very well for retrying a API endpoint in my Vue application if for instance the accessToken is expired and a new one is requested. I'm trying this 5 times, before triggering the onMaxRetryTimesExceededHandler in my code. But somehow this function is not triggered. What am i doing wrong: