filmov
tv
Why and how to cookies instead of localStorage for our JWT in SvelteKit/Svelte
Показать описание
If your SvelteKit (or any frontend) app can, it should probably use httponly secure Cookies to store your JWT/session information rather than using localStorage. It's more secure against XSS. In this episode, I show you the small changes required to make that work in Svelte.
🤯 Support on Patreon
⏱️ Timestamps:
* 00:00 - Introduction
* 00:45 - Demo
* 02:25 - svelte file changes
💌 Newsletter:
🪐Elsewhere:
💭Concepts:
* Cookies vs LocalStorage for JWTs
📚Resources:
🎬 Subscribe!
My name is David W Parker and I’m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. I’m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. I’ve used React a lot in the past, as well as some Vue and AngularJS. I’ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.
#svelte #sveltekit
🤯 Support on Patreon
⏱️ Timestamps:
* 00:00 - Introduction
* 00:45 - Demo
* 02:25 - svelte file changes
💌 Newsletter:
🪐Elsewhere:
💭Concepts:
* Cookies vs LocalStorage for JWTs
📚Resources:
🎬 Subscribe!
My name is David W Parker and I’m creating and publishing videos on ProgrammingTIL to help teach anyone and everyone who wants to code. I’m a huge fan of Ruby on Rails, Svelte, TailwindCSS, and WebGL. I’ve used React a lot in the past, as well as some Vue and AngularJS. I’ve done some professional Python and Django. I like to create real applications and my tutorials will walk you through how to build something real from beginning-to-end.
#svelte #sveltekit
Why Websites Use Cookies | Types of cookies | Third-party cookie
Why and how to cookies instead of localStorage for our JWT in SvelteKit/Svelte
'Why do your cookies taste… weird?'
🔥Why do we need HTTP Cookies?!🔥#http #cookies
Why cookies spread during baking #cookies #foodscience #christmascookies
Why do we dunk milk in cookies??
Why do Cookies Rise and What Does it Have to do With Baking?
Don't Use Baking Powder In Your Cookies, Here's Why.
Get PERFECT WHOLE GRAIN Oatmeal Cookies Every Time
Why Are My Sugar Cookies Too Brown? (How to Choose the Right Baking Sheet)
Why people love cookies more than radishes | Dr Andrew Huberman
Why Are My Cookies Flat and Greasy? How to Fix Them!
COOKIE BAKING TIP: Why you shouldn't overmix! #cookies #bakingtips #bakinghacks #bakingtutorial
Why Fortune Cookies Are an American Invention
Why You Need To Reject All Web Cookies
why i dont sell chocolate chip cookies
Why you should refrigerate brown butter for fluffy cookies #cookies #chocolatecookiesrecipe #food
Don't Use Chocolate Chips In Your Cookies (Here's Why) #shorts
Ask Betty: Why do all of my cookies turn so hard when cooled?
Why use session instead of #cookies in PHP? session vs cookie in #php – Which is Better for Storing...
FINISH STRONG! BEST Team Ideas for the BOSS RUSH Event! (21-24 Guide)
Why It’s Healthy To Eat Cookies 🍪
EXPLAINED: Why Are Cookies So Expensive? #business #entrepreneur #economics
Why cookies made with powdered sugar don’t caramelize #cookies #christmascookies
Комментарии