- Phân biệt authentication and authorization
- Lưu token ở local storage hay cookies
- XSS and CSRF
- Nội dung chương 3 mình sẽ làm về cái gì, solution để áp dụng Auth (login / logout) vào NextJS là gì?
Cùng mình tìm hiểu trong video này nhé!
Slide: https://drive.google.com/drive/folders/1p6EjDFBIk9eeoMfsr9z5ufCbhe1rzU8W?usp=sharing
———
#nextjs
#typescript
#nextjs_tutorial
———
VIDEO CHAPTERS:
Made by: Sinh Bùi Đình
Cảm ơn bạn nhiều nhé! ❤️
00:00 Authentication & Authorization
02:45 Auth Token saved location
04:00 XSS attack & CSRF attack
05:30 Prevent XSS - Case 1 - Santinize
06:30 Prevent XSS - Case 2 - OTP
08:40 Our Solution in NextJS
11:20 HHTP-Only
12:40 Transform from token cookie to Token
13:40 Token when login & logout when use JWT & API Proxy
14:30 Sample idea apply http-only-cookie-auth-tokens
———
Easy Frontend - Code xịn hơn mỗi ngày
🔥 Khoá học Javascript: https://course.ezfrontend.com/javascript
🎁 Khoá học ReactJS: https://course.ezfrontend.com/reactjs
🎯 Fan cứng Easy Frontend: https://www.youtube.com/channel/UCG2ovypNCpVOTFeY1YCocmQ/join
———
💰 Ủng hộ mình làm videos thì đóng góp qua MoMo/ZaloPay: 0901 309 729 nhé
———
Kết nối với mình:
- ✅ Follow facebook: https://www.facebook.com/nvhauesmn/
- 🎉 Fan page: https://www.facebook.com/learn.easyfrontend
- ❓ Group: https://www.facebook.com/groups/easyfrontend
- 💻 Github: https://github.com/paulnguyen-mn
- 💼 LinkedIn: https://www.linkedin.com/in/haunguyenmn/