Register and login a user with JWT token

  Рет қаралды 44,114

Hitesh Choudhary

Hitesh Choudhary

Жыл бұрын

Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.
All the learning resources such as code files, documentations, articles and community discussions are available on our website:
chaicode.com/
You can find our discord link, github link etc on the above website.
Twitter/X link: x.com/hiteshdotcom
Discord link: hitesh.ai/discord
Learn React with 10 projects: • Let's learn react from...
Learn Docker: • A practical guide on D...
Learn Kubernetes: • Complete Kubernetes Co...
How does a browser works: • How does a browser wor...
How nodejs works: • How node JS works | En...
Learn Redux-toolkit: • Learn Redux Toolkit in...
Learn NextJS: • Nextjs Full stack course
Learn Typescript: • Why to learn Typescript
Learn Javascript: • Welcome to new JavaScr...
Learn React Native: • React Native Mastery: ...
Learn Zustand: • React state management...
Learn Golang: • How to get started wit...

Пікірлер: 35
@chinmaykhairnar6750
@chinmaykhairnar6750 Ай бұрын
Ekdam easily understand sir ...
@riya1703
@riya1703 6 ай бұрын
Great explanation... I really love to learn from your videos... Sir can you please make a content on Nestjs😊
@parthanarra7147
@parthanarra7147 Жыл бұрын
Thankyou 🙏, Great explanation
@anubhavseet004
@anubhavseet004 Ай бұрын
Sir again iam here to learn authentication
@chandankumar-ul5to
@chandankumar-ul5to Жыл бұрын
Ctrl + Tab - move forward in browser @1:39 Ctrl + Sh + Tab - Move Backward a small contribution in this video 😄
@HiteshChoudharydotcom
@HiteshChoudharydotcom Жыл бұрын
Thanks, need to drill it in muscle memory
@Nitin.0202
@Nitin.0202 10 ай бұрын
Best video every I have seen 😊
@chinmaykhairnar6750
@chinmaykhairnar6750 Ай бұрын
Pls , do more videos on this sir some how difficult to understand JWT
@pixiedev
@pixiedev Жыл бұрын
I don't use cookie-parser I use just a method of 5-6 of code which provided by django docs. And it's sufficient 😅.
@GoutamReddydazz
@GoutamReddydazz Жыл бұрын
How do you handle security ?then ? what if someone stoles your token ?
@pixiedev
@pixiedev Жыл бұрын
@@GoutamReddydazz it is in cookie
@pixiedev
@pixiedev Жыл бұрын
@@GoutamReddydazz encode it with base64 or SHA256
@GoutamReddydazz
@GoutamReddydazz Жыл бұрын
@@pixiedev so you are saying by doing those we can secure application from CSRF
@hichemchouadria4134
@hichemchouadria4134 Жыл бұрын
Excellent👍 thank you
@ruhulmirza6197
@ruhulmirza6197 6 ай бұрын
Can I take data from my React form into my personal gmail id without using any librariies like email.js elastic email etc.
@gauravrokade8106
@gauravrokade8106 Жыл бұрын
Thank you sir ❤️
@moonstone_motivation
@moonstone_motivation Жыл бұрын
Sir, completed HTML CSS, JAVASCRIPT, REACTJS,MERN STACK COURSE all by you but as I'm a fresher and don't have a btech degree,how do i find a job? Cause most ppl won't give a chance to a non btech fresher. So any tips on what I should do next and how do i get my first job and gain experience ?
@sharcodes
@sharcodes 4 ай бұрын
I hope you must have got by now. If not create some good project which solved real life problem and bring some user to use that...
@milindalt
@milindalt Жыл бұрын
here's the shortcut : (ctrl + tab) to switch tabs
@Overlord_Ainz348
@Overlord_Ainz348 7 ай бұрын
Sir, can't we just use passport for this
@rajkishan3690
@rajkishan3690 Жыл бұрын
ctrl +tab - move to forward tab. ctrl+shft+tab - move to backward tab.
@prakharsinha4145
@prakharsinha4145 Жыл бұрын
have a doubt..... does user.token=token won't store token into the DB ?
@lakshmangottapu618
@lakshmangottapu618 9 ай бұрын
No, It will not
@anas7175
@anas7175 Жыл бұрын
I am facing one problem the cookie is stored if I make request using postman but in browser it's not getting stored in cookies
@ikramahahmed427
@ikramahahmed427 Жыл бұрын
janii masla solve hoa?
@learncomputer8526
@learncomputer8526 10 ай бұрын
I am facing same issue
@mohammadmalek5042
@mohammadmalek5042 11 ай бұрын
thanks
@sandeep_khariwal8137
@sandeep_khariwal8137 Жыл бұрын
is it important to create jwt token both time while we are registering and login? is this create different token both time ?
@rishirathore2373
@rishirathore2373 Жыл бұрын
yes! it create or overwrite the new one if you save the user.token = jwt made while log in
@najmulhasan5997
@najmulhasan5997 7 ай бұрын
where is source code?
@Nitin.0202
@Nitin.0202 10 ай бұрын
✅👍🏻❤
@good114
@good114 4 ай бұрын
🙏🙏❤❤
@harshmore8869
@harshmore8869 9 ай бұрын
😅😂
@cartoonkid5584
@cartoonkid5584 6 ай бұрын
chai and code
@vuyyururajashekarreddy493
@vuyyururajashekarreddy493 Жыл бұрын
Use argon2 which is better than bcryptjs for modern world
lets code a middleware in easy way
24:31
Hitesh Choudhary
Рет қаралды 15 М.
From idea to Database design
38:56
Hitesh Choudhary
Рет қаралды 9 М.
HAPPY BIRTHDAY @mozabrick 🎉 #cat #funny
00:36
SOFIADELMONSTRO
Рет қаралды 11 МЛН
LOVE LETTER - POPPY PLAYTIME CHAPTER 3 | GH'S ANIMATION
00:15
JWT Authentication Tutorial - Node.js
27:36
Web Dev Simplified
Рет қаралды 1 МЛН
JWT token vs Server Tokens
10:25
Hitesh Choudhary
Рет қаралды 28 М.
What Is JWT and Why Should You Use JWT
14:53
Web Dev Simplified
Рет қаралды 1,1 МЛН
Learn JWT in 10 Minutes with Express, Node, and Cookie Parser
10:20
Web Dev Cody
Рет қаралды 100 М.
JWT Authentication with Node Crash Course
1:29:11
Laith Academy
Рет қаралды 50 М.
Why this is perfect time to learn AI
14:16
Hitesh Choudhary
Рет қаралды 12 М.
Authentication With JWT Tutorial - React, NodeJS | How To
32:19
PedroTech
Рет қаралды 225 М.
Отдых для геймера? 😮‍💨 Hiper Engine B50
1:00
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,7 МЛН
Красиво, но телефон жаль
0:32
Бесполезные Новости
Рет қаралды 776 М.