✦ Understanding the importance of JSON Web Tokens (JWT) for user authentication and authorization 00:01 ✦ Creation of JSON Web Token is crucial for secure user authentication 02:03 ✦ JSON Web Token (JWT) is like a card for secure user authentication. 03:44 ✦ Generating and defining token generation in MERN app backend 05:26 ✦ Introduction to JSON Web Token (JWT) 07:42 ✦ Creating payload and signature for JWT in user authentication 09:40 ✦ Secure user authentication with JSON Web Token in MERN 11:43 ✦ Generating a token and user ID 13:5100:01 Understanding the importance of JSON Web Tokens (JWT) for user authentication and authorization 02:03 Creation of JSON Web Token is crucial for secure user authentication 03:44 JSON Web Token (JWT) is like a card for secure user authentication. 05:26 Generating and defining token generation in MERN app backend 07:42 Introduction to JSON Web Token (JWT) 09:40 Creating payload and signature for JWT in user authentication 11:43 Secure user authentication with JSON Web Token in MERN 13:51 Generating a token and user ID Crafted by Merlin AI.
hello bro res send time waha tum await nhi use kar skate ho stander code nhi bola jaye ga kitane log tumara ye code dekhe ge yahi kare ge so res mai await nhi use karet
The token can be stolen and used for malicious purposes. In order to do this, some security operations must be performed on the token. You should also add information about these issues.
Why would someone store the JWT token in the localstorage as it is vulnerable to Cross-Site Scripting (XSS) attacks? And what would be the most secure way of storing the JWT access token in the react app, assuming that we're storing the refresh token in the http only cookie?
we need to add the the sign and secret key isliye taki koi or tumhare imp. files ka access na pasakey and jwt ko secret keys pass krna prdta hai taki ek random strong token we create kar sakey. It's like bank me jatey time token milta hai random right.. n jiski bari wo token lekey jatey hai same hai idr bhi
✦
Understanding the importance of JSON Web Tokens (JWT) for user authentication and authorization
00:01
✦
Creation of JSON Web Token is crucial for secure user authentication
02:03
✦
JSON Web Token (JWT) is like a card for secure user authentication.
03:44
✦
Generating and defining token generation in MERN app backend
05:26
✦
Introduction to JSON Web Token (JWT)
07:42
✦
Creating payload and signature for JWT in user authentication
09:40
✦
Secure user authentication with JSON Web Token in MERN
11:43
✦
Generating a token and user ID
13:5100:01 Understanding the importance of JSON Web Tokens (JWT) for user authentication and authorization
02:03 Creation of JSON Web Token is crucial for secure user authentication
03:44 JSON Web Token (JWT) is like a card for secure user authentication.
05:26 Generating and defining token generation in MERN app backend
07:42 Introduction to JSON Web Token (JWT)
09:40 Creating payload and signature for JWT in user authentication
11:43 Secure user authentication with JSON Web Token in MERN
13:51 Generating a token and user ID
Crafted by Merlin AI.
Sir please ek payment method pe ek video banavo
hello bro res send time waha tum await nhi use kar skate ho stander code nhi bola jaye ga kitane log tumara ye code dekhe ge yahi kare ge so res mai await nhi use karet
Thanks n Sure, let me check, ok..
sir jwt pr ek seperate vdo bna dijiye with full explaination
Object ko String mein krne ka faida?
The token can be stolen and used for malicious purposes. In order to do this, some security operations must be performed on the token. You should also add information about these issues.
are yrr bhiyaa aapne model m jwt kyu banaya...... model ko sirf ek hi cheej k iye use kro baaki kaam controlllers me kro plsss
Thapa Bhai still waiting for ES6 mongo node driver CRUD operations expert video
mera emty token dikha raha hai generat nahi ho raha
Which theme are you using in vs code
Dear Sir ap na passport local k through nahi krwaya? best one knsa ha
jsonwebtoken package install nhi ho raha hain
nice explanation
Sir JavaScript ka course kab upload korega?
Sir pls full stack web development course on your website
Pls do reply
Hmesha like krke chord dete ho sir
Error: secretOrPrivateKey must have a value error aarhi hai sir
kya kru aage
solve hua ?
Nh ho raha bhai koi solve kr do
@@niteshpawar3674 ho gya solve
Sir pleace make the erd project/rdbms(relational data base managment systel) with the html css javascript php and phpmyadmin mysql playlist
Cannot read properties of undefined (reading 'sign')
Bhai Google or fb k theough sinup krny ka treqa btadyn
namikaze minato ❤⚡⚡⚡⚡⚡
Error: secretOrPrivateKey must have a value
generateToken function ko apne ASYNC q bana woto batain bro? at 8:09seconds
yrr series complete ka ho gii
😗😗
Koi vedio bnandeyn is pr b
Why would someone store the JWT token in the localstorage as it is vulnerable to Cross-Site Scripting (XSS) attacks? And what would be the most secure way of storing the JWT access token in the react app, assuming that we're storing the refresh token in the http only cookie?
Did you get the answer? If not ask ChatGPT the same question.
I do stuck here too
Will store in memory(state) for more secure
You can use subject or behaviour subject to store the token
hi sir there is issue in vps hosting: ERR_PNPM_RECURSIVE_EXEC_FIRST_FAIL Command "preview" not found showing this error
Sir please please please replay on this message
I have some issue in node server after adding jwt token
database connection failed
[nodemon] clean exit - waiting for changes before restart
you are right ,i also get this error
Youre database in atlas is not working so reconnect your network one part in atlas
So, you're naruto fan😏 by the way great tutorial
i think thapa bro sent this video link to girlfriend
👍👍
TypeError: Cannot read properties of undefined (reading 'sign')
i am facing this issue pls help me
same problem
have you resolve it ?
@@naturetotal4693 nope
same problem please help you both
same problem
@@naturetotal4693
bhai sar bhum raha hai mera... bapre itna sara chiz ha konsa file ma kia store hoga ma toh pagal ho jaunga.....🤢
smjhiye boojhiye 😂😂😂😂😂😂
Sir, mujhe jwt.sign wala pata nahi chala aur me secret key kyu use karu
we need to add the the sign and secret key isliye taki koi or tumhare imp. files ka access na pasakey and jwt ko secret keys pass krna prdta hai taki ek random strong token we create kar sakey. It's like bank me jatey time token milta hai random right.. n jiski bari wo token lekey jatey hai same hai idr bhi
@@ThapaTechnical thank you I am 13 years old sir
Sir this method is Typically difficult of generate token
try this
// matching the password to the hash password
const domatch = await bcrypt.compare(password, user.password);
console.log(domatch);
// generate the token
if (domatch) {
const token = Jwt.sign({ userId: user.id }, "" + process.env.JWT_SECRET,
{
expiresIn: '7d'
})
res.status(201).json({ token, success: "Login Successfully" })
}
else {
res.status(404).json({ error: "Email and Password Not Found" })
}
} catch (error) {
console.log(error);
res.status(500).send(error, "Internal Server Error")
}
})
⬇⬇⬇⬇⬇⬇⬇⬇⬇⬇↘↘↘
Maine v isi trh se create kiya h