HE-Arc / FreeGo2

Application développée pour l’association FreeGo afin de promouvoir leurs réfrigérateurs communautaires.
https://application-freego.ch/
1 stars 0 forks source link

After a 401 (Unauthorized) successfully intecepted by axios, Vue.js doesn't update its data #46

Open Kevin-Laipe opened 3 years ago

Kevin-Laipe commented 3 years ago

The access token expires every 5 minutes and a 401 may be returned by the API. Axios intercepts it (using interceptors) and makes a refresh request to get a new access and then resends the request that responded with a 401. However the data from the component isn't updated

It may be related to issue 48