Refreshing Tokens With Axios Interceptors

Publicado em: 19 Outubro 2021
no canal de: Dennis Ivy
91,599
1.8k

Implementing JWT access and refresh token authentication with Django & React using axios interceptor method. This video is a continuation of my last project that can be found here:    • Authentication & Refreshing Tokens Im...  

Check out my Python Django course: https://dub.sh/fkXTrSo

Starter Code: https://github.com/divanov11/refresh-...
Final Source code: https://github.com/divanov11/refresh-...


Axios Documentation: https://axios-http.com/


Timestamps:
00:00 - Intro
00:53 - What are Interceptors
2:42 - Resources
3:30 - Code Recap
10:00 - Create Axios Instance
16:05 - Using Axios Instance
18:05 - Adding Interceptor
22:34 - Checking Token Expiration
26:50 - Getting New Token
30:45- Custom useAxios() Hook


Nesta página do site você pode assistir ao vídeo on-line Refreshing Tokens With Axios Interceptors duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Dennis Ivy 19 Outubro 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 91,599 vezes e gostou 1.8 mil espectadores. Boa visualização!