Skip to content

Tag: oauth

Acquiring a new token with `axios.interceptors`

When the token expires, I want to get a new token based on refresh_token. I have read that this can be obtained with axios.interceptors. Please check if: Have I correctly configured axios.interceptors? Have I placed it in the right place, i.e. above theItems class. axios.interceptors.response is assigned to theinterceptor variable. What should I do with […]