Secure JWT Authentication - Where to store the JWT Token. How to store JWT token in httpOnly cookies
In this video I go through a few possibilities on how to use the JWT token.
If you enjoyed this video then check out The Complete Strapi Course on Udemy:
JWT Tokens are used for authentications with many APIs and especially with Headless CMSs (such as Strapi, Sanity, etc..)
I go through dangerous and safe ways to store the JWT when working with a “fat client“ (e.g. React app)
Let me know what you think in the comments!
These are DANGEROUS ways to store the JWT token:
The reason why storing your JWT token in the frontend is dangerous is because if your site is subject to XSS (Cross Side Scripting) then a malicious script will have access to your token.
Ephemeral use example:
The httpOnly example will be in an upcomi
1 view
1393
340
6 months ago 05:36:22 1
AI SaaS Chat Bot using MERN Stack – Tutorial
6 months ago 10:54:07 1
Java Full-Stack: Hotel Booking App With Spring Boot, Spring Security & Reactjs : final part.
6 months ago 11:25:47 1
Java Full-Stack: Hotel Booking App With Spring Boot, Spring Security & Reactjs
6 months ago 15:08:39 1
Complete MERN Stack Project: Build a Hotel Booking App Like a Pro Developer Step-by-Step Course 2024
7 months ago 00:39:22 1
Back-end roadmap / Как стать back-end разработчиком в 2023 году, что учить?
7 months ago 11:21:04 1
Bug Bounty Course 2024 Updated
7 months ago 01:27:42 1
Создание REST API с использованием Spring WebFlux и Security
7 months ago 00:12:53 1
Secure JWT Authentication - Where to store the JWT Token. How to store JWT token in httpOnly cookies
8 months ago 00:20:27 1
FastAPI JWT Tutorial | How to add User Authentication
10 months ago 01:56:11 2
Основы работы с Spring Security
10 months ago 00:47:27 1
Учим за неделю то, что учат полтора года / Java EE
10 months ago 01:52:13 1
Spring Security: Spring Security + REST + JWT
10 months ago 00:35:09 1
Spring boot 3 - OpenApi Documentation | Swagger UI
10 months ago 01:20:22 8
JWT-аутентификация для нативных приложений - Spring Security
10 months ago 00:39:49 1
JWT-аутентификация для веб-приложений - Spring Security
11 months ago 01:27:28 1
Создание Spring Security REST API с использованием JWT токена
12 months ago 08:43:04 47
Learn Spring Fundamentals for Beginners - Full Course
1 year ago 02:37:48 1
7 JWT Authentication and Role-Based Authorization | Web API
1 year ago 01:30:07 1
🔥Complete Jwt Authentication with Spring Boot 3.1 in one video | Hindi
1 year ago 01:05:43 1
Microservice Authentication and Authorization | Nic Jackson
1 year ago 01:50:04 1
Build a Fullstack Login & Register Page with MERN (, mongo, express, bcrypt, jwt & more)
1 year ago 00:54:36 1
Tutorial - Part 6 | Authentication for API Routes using JWT and bcrypt