Authentication & Refreshing Tokens Implementation
Implementing JWT access and refresh token authentication with Django & React using the timed interval method.
Source Code: https://github.com/divanov11/refresh-token-interval
Axios Interceptor Method: https://youtu.be/16-1mTdGBoM
Timestamps
00:00 - Intro
4:15 - Setting Up Django Project
12:15 - Adding Django REST Framework
15:24 - Adding Simple JWT
22:00 - Customizing JWT Settings
23:25 - Access & Refresh Token Lifespan
24:32- Rotating Refresh Tokens
26:25 - Blacklisting Refresh Tokens
30:00 - Customizing Token Claims
34:38 - CORS Configuration
38:30 - Setting up React Files
51:25 - Private Routes
58:25 - Setting up AuthContext
1:04:24 - Login User
1:20:00 - Get user state from local storage on load
1:29:45 - Logout User
1:31:30 - Refresh & Rotating Tokens
1:45:10 - Setting Up User Items in DB
1:52:20 - Adding Protected Endpoints
1:54:30 - Rending user items
2:01:35 - Logout user on fail
2:04:45 - Refreshing Token on load
Видео Authentication & Refreshing Tokens Implementation канала Dennis Ivy
Source Code: https://github.com/divanov11/refresh-token-interval
Axios Interceptor Method: https://youtu.be/16-1mTdGBoM
Timestamps
00:00 - Intro
4:15 - Setting Up Django Project
12:15 - Adding Django REST Framework
15:24 - Adding Simple JWT
22:00 - Customizing JWT Settings
23:25 - Access & Refresh Token Lifespan
24:32- Rotating Refresh Tokens
26:25 - Blacklisting Refresh Tokens
30:00 - Customizing Token Claims
34:38 - CORS Configuration
38:30 - Setting up React Files
51:25 - Private Routes
58:25 - Setting up AuthContext
1:04:24 - Login User
1:20:00 - Get user state from local storage on load
1:29:45 - Logout User
1:31:30 - Refresh & Rotating Tokens
1:45:10 - Setting Up User Items in DB
1:52:20 - Adding Protected Endpoints
1:54:30 - Rending user items
2:01:35 - Logout user on fail
2:04:45 - Refreshing Token on load
Видео Authentication & Refreshing Tokens Implementation канала Dennis Ivy
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
![What Is JWT and Why Should You Use JWT](https://i.ytimg.com/vi/7Q17ubqLfaM/default.jpg)
![Why & When I Use React JS](https://i.ytimg.com/vi/yAbnoYfV99g/default.jpg)
![Refreshing Tokens With Axios Interceptors](https://i.ytimg.com/vi/16-1mTdGBoM/default.jpg)
![The Ultimate guide to JWT client side authentication (Stop Using Local Storage !!!)](https://i.ytimg.com/vi/d2gfJ8UVPDo/default.jpg)
![Django Rest Framework Series - JWT Token Authentication with React - Part-3](https://i.ytimg.com/vi/AfYfvjP1hK8/default.jpg)
![](https://i.ytimg.com/vi/_y0sSFWrswk/default.jpg)
![What is the difference between an Access Token and a Refresh Token? (OAuth 2.0 and OpenID Connect)](https://i.ytimg.com/vi/PX90GNc7xo8/default.jpg)
![Django + React Notes App](https://i.ytimg.com/vi/tYKRAXIio28/default.jpg)
![Authentication as a Microservice](https://i.ytimg.com/vi/SLc3cTlypwM/default.jpg)
![ASP.NET CORE Web API - JWT Authentication (Refresh Token + Role Based + Entity Framework ) | Swagger](https://i.ytimg.com/vi/uWhbcR06VcA/default.jpg)
![Fullstack Authentication with Refresh Access Tokens (Node, Next.js, Typescript)](https://i.ytimg.com/vi/xMsJPnjiRAc/default.jpg)
![Python (no client): Refresh an access token for api.video](https://i.ytimg.com/vi/F7xKn92r_0Y/default.jpg)
![JSON Web Tokens With Django REST Framework](https://i.ytimg.com/vi/Fhcn2qx-4VQ/default.jpg)
![Spring Boot and Spring Security with JWT including Access and Refresh Tokens 🔑](https://i.ytimg.com/vi/VVn9OG9nfH0/default.jpg)
![JWT: Where to store JWT in the browser frontend?](https://i.ytimg.com/vi/occfnVaZOXI/default.jpg)
![What is JWT authorization really about - Java Brains](https://i.ytimg.com/vi/soGRyl9ztjI/default.jpg)
![Django Video Chat Website With Controls](https://i.ytimg.com/vi/Oxnz8Us1QAQ/default.jpg)
![How to Store JWT for Authentication](https://i.ytimg.com/vi/iD49_NIQ-R4/default.jpg)
![NodeJS JWT Authentication | Refresh Token | MongoDB | Redis](https://i.ytimg.com/vi/E7INRhMTsX0/default.jpg)
![What are Django class based views & should you use them?](https://i.ytimg.com/vi/RE0HlKch_3U/default.jpg)