Top Categories
13 | Vue Todo: Axios - Refresh expired tokens using interceptors |
- Category: Information Technology
- Sub Category: Web Designing
This video is part of the Vue Series which serves as the front-end to the API that was created in Symfony earlier, Below you can find the link to both the Symfony API playlist and Vue playlist.
Symfony REST: https://www.youtube.com/playlist?list=PLqhuffi3fiMN_jVxqlIAILEp4avoBH4wc
Vue Todo: https://w
This video is part of the Vue Series which serves as the front-end to the API that was created in Symfony earlier, Below you can find the link to both the Symfony API playlist and Vue playlist.
Symfony REST: https://www.youtube.com/playlist?list=PLqhuffi3fiMN_jVxqlIAILEp4avoBH4wc
Vue Todo: https://www.youtube.com/playlist?list=PLqhuffi3fiMNRoRU2dijolTTKOnE_197R
| This video covers refreshing the JWT token after they expire, and then resend all failing requests again with the new refreshed and valid token like nothing happened, we make use of the axios interceptor to do that, note that i’m setting the refresh token in a cookie so i don’t have to send when i port to end-point responsible for refreshing. |
Git repository: https://github.com/konshensx16/vue-todo-frontend