Node JS and JWT Token Authentication | how to use json web token in Node js | Hindi

Поделиться
HTML-код
  • Опубликовано: 21 авг 2024
  • Here we learn how to use jwt and node js for user authentication in the node App.
    this video is made by anil Sidhu in the Hindi Language
    Make fresh node js app
    Make Package JSON
    Install express and jwt package
    Make simple API
    Make login with jwt token
    Make profile API with jwt token
    React js Latest Playlist in hindi : • React tutorial for beg...
    inst id: @code.steps

Комментарии • 142

  • @YagneshFamukiya
    @YagneshFamukiya Год назад +23

    I am from non IT background..but now I am a MERN developer only because of your channel and coursers. So I have no words how to thank you..Thanks again Guruji…

    • @codestepbystep
      @codestepbystep  Год назад +2

      Congratulations 🎉

    • @arunsuthar4783
      @arunsuthar4783 Год назад +1

      You have mern stack developer job ?

    • @YagneshFamukiya
      @YagneshFamukiya Год назад +1

      @@arunsuthar4783 Yes

    • @ADayWithDev
      @ADayWithDev Год назад +1

      @@YagneshFamukiya can you drop any medium to contact you like insta telegram anything else

    • @bhagatsinghsingh3735
      @bhagatsinghsingh3735 4 месяца назад

      bro i am looking for internship in MERN stack,have any oppurtunity in your link

  • @waleed_1504
    @waleed_1504 Год назад +10

    sir u are the best teacher i have ever seen on RUclips
    there are many big youtubers who skip things in the middle of the course and ask for money for source code but u are amazing,,,and your method of teaching (show steps from slides and do same) is absolutely awesome.... God bless you

    • @Rajesh-op8zx
      @Rajesh-op8zx Год назад +1

      Hi bro can you tell me that is the playlist completed fully , because I'm starting to learn so just want to know that if playlist is completed then I'll start .

  • @Priyanshu-8700
    @Priyanshu-8700 4 месяца назад +2

    A big thank you sir i got a job and this happened just because of you and your video Thank you

    • @SWAPNILSAHA-fs8ib
      @SWAPNILSAHA-fs8ib 2 месяца назад

      bro i need the zip file of this same question pucha mereko please help

  • @arsalanahmad7842
    @arsalanahmad7842 Год назад +3

    best hindi yt channel , follow your course of nodejs , and also wait for more informative videos

  • @amandudi8620
    @amandudi8620 Год назад +2

    I have just finished watching this playlist.. And I cannot thank you enough... 🙏

    • @Zaherasaifi
      @Zaherasaifi 11 месяцев назад

      how do authData get data in in to the function pls help me out that was showing only "authData": {
      "iat": 1694784830,
      "exp": 1694788430
      }

  • @editorschoice2153
    @editorschoice2153 Год назад +6

    Sir Hats off to you. I have Followed your nodeJs Course and MERN Project and I want to tell you that the way you teach is Awesome. I have Completed the course.I have One request. Can you please make a video on how user can be blocked for some specific time period after 3 attempts of login with wrong credentials.
    It will really help.

  • @utkarshagrawal6051
    @utkarshagrawal6051 Год назад +1

    itnee subah subah, great commitment!

  • @VikasPatel-ox1yg
    @VikasPatel-ox1yg Год назад +4

    Nicely designed series. Lots of things to know about the MERN stack. Thank you, sir. 👌👍

  • @SHAHIDCode
    @SHAHIDCode Год назад

    love you bhai... mai 1st video se lekar aakari video tak apki mern stack ki puri video dekli.... bahuth acha padate hoo aap.
    allah aapko kamiyab kare avre sehath mand rakhe .. aameen

  • @sandeepsolanki193
    @sandeepsolanki193 Год назад +18

    Please come with Nodejs project

  • @ridingmiles6690
    @ridingmiles6690 Год назад +3

    Brother project se pahele one thing is very important for us Relationship between documents. One to one, one to many, many many. Please need to understand this with real example. 4 - 5 tutorial chahiye it's very important for live project. Brother please make those videos ASAP....

  • @khushaboosonawane3232
    @khushaboosonawane3232 18 дней назад

    your explanation is very nice sir

  • @sidhardhakunduru
    @sidhardhakunduru Год назад

    Did the video in the early morning 4:30 .. Woah 🙌🏻

  • @nikitasingh61
    @nikitasingh61 Год назад +4

    First of all , I want to thank you for such a good series, After going over this I have good understanding of MERN, Thanks you so much for such a descriptive series
    Could you please share link for code of this series ?

  • @yogeshyewale478
    @yogeshyewale478 Год назад

    Easiest explanation ever on jwt

  • @InformationJagat
    @InformationJagat 3 месяца назад +1

    bhai sach me mja aa gya ,,thanku for this video

  • @vikasgavandi488
    @vikasgavandi488 Год назад

    BHai aapki videos are very simple to understand.. Thank you for this all tutorial

  • @i_am_groot3787
    @i_am_groot3787 5 месяцев назад +1

    awesome ⭐⭐⭐⭐⭐⭐ just fininished playlist

    • @codestepbystep
      @codestepbystep  5 месяцев назад

      Awesome thank you!

    • @i_am_groot3787
      @i_am_groot3787 5 месяцев назад

      @@codestepbystep can you please also make video to deploy project🤏 if possible.🤌
      Either way it was awesome playlist❤️

  • @sagarvavadiya5252
    @sagarvavadiya5252 Год назад +2

    easy to understand jwt token

  • @SabinPoudel-iw2rf
    @SabinPoudel-iw2rf 3 месяца назад

    Short and simple thanks for the explanation!!

  • @aviipatel8760
    @aviipatel8760 10 месяцев назад +1

    Very nice, informative and to the point Video., i learned from it., thankyou for this knowladge and video., 💖

  • @surajkohar1788
    @surajkohar1788 Год назад +1

    nice teaching style

  • @indra16
    @indra16 Год назад +1

    i seriously wanted to know this jwt thanks sir

  • @amritakaur4586
    @amritakaur4586 Год назад +1

    completed , thank you, it helped a lot

  • @user-nd7hp2wm2h
    @user-nd7hp2wm2h 9 месяцев назад +1

    thanks for that video😍🙏🤩

  • @JayaDadhich-kg9jw
    @JayaDadhich-kg9jw 2 месяца назад

    Great Content

  • @mohdrahilkhan1020
    @mohdrahilkhan1020 Год назад +1

    thanks.. great tutorial😊

  • @ZakimDawar
    @ZakimDawar 6 месяцев назад

    knowledge bahot hai sir g . pher content deliver krna ka tareqa sahi ni hai . O aise k app ne ye post man open raka hai . pher news ko ye pata ni hotha k kaha se open krna hai our kise chalana hai.
    thank you ...

  • @divyeshsevra2166
    @divyeshsevra2166 4 месяца назад

    Love you bro it's very helpt keep it up

  • @hotbapu5346
    @hotbapu5346 Год назад +1

    ❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤Thanks Bhai job ready series🎉🎉❤❤❤❤❤

  • @ayan-yr7km
    @ayan-yr7km Год назад +1

    Awesome sir ❤

  • @mrj5745
    @mrj5745 6 месяцев назад

    Very Good detailed video. Thanks

  • @ridhamparmar1996
    @ridhamparmar1996 Год назад

    superb sir maza aa gaya👏👏

  • @FaizanKhan-gfaizank
    @FaizanKhan-gfaizank 5 месяцев назад

    All those facing error of "result": "Token is not valid", make sure to keep 'authorization' in const bearerHeader=req.headers['authorization'] i.e. lowercase...

  • @amansahu3531
    @amansahu3531 Год назад

    thank you very much sir 👌👌👌 awesome explanation

  • @saurabhjain2085
    @saurabhjain2085 Год назад

    Thank you for informative video

  • @SahilTheExplorer
    @SahilTheExplorer Год назад

    Thanks sir, learned a lot.

  • @coderdhruv
    @coderdhruv Год назад

    thank you so much sir for making this video

  • @heartfilterer9863
    @heartfilterer9863 Год назад +2

    Ek login form v bana lo bhaiya frontend pe implementation k liye aksath dikha do

  • @ABHISHEKKUMAR-ne3rk
    @ABHISHEKKUMAR-ne3rk Год назад +2

    Hi, I'm laravel developer having 2 years exp, now should I switch to node js or learn React js.. pls suggest.., someone suggest switch to node js ..

    • @codestepbystep
      @codestepbystep  Год назад +1

      React js. And become full stack in react and laravel

  • @muddassirali8013
    @muddassirali8013 5 месяцев назад

    Brother please guide me how to protect the routes in react and how we verify token
    Or make a full video both frontend and backend please

  • @Islamicshorts500
    @Islamicshorts500 8 месяцев назад +1

    Thanks Bro

  • @sachinpandey7751
    @sachinpandey7751 Год назад

    awesome gurudev

  • @nonamejustusername
    @nonamejustusername Год назад +1

    Great video.
    I have a question that how can we hide this token from the API call which shows in browser's network tab? Because anyone can get access to user profile if he/she just know this token. How can we handle this or hide it from the browsers?

  • @mdsafikulislam7430
    @mdsafikulislam7430 Год назад +1

    Hello Sir Please make Full Playlist.

  • @vedangmule5940
    @vedangmule5940 Год назад

    best explaination

  • @shamiazad9383
    @shamiazad9383 Год назад +1

    sir please make videos on reset password using email verification in node js and reactjs

  • @projectop-bz2co
    @projectop-bz2co 4 месяца назад +1

    what to after completing node js series i have not completed react because i am using angular so how can able to create project in node js ? please please please please please reply @Code Step By Step

  • @kartikmadasanal3339
    @kartikmadasanal3339 5 месяцев назад

    thank you

  • @anamikadey2409
    @anamikadey2409 Год назад

    great video

  • @ridingmiles6690
    @ridingmiles6690 Год назад

    Isi series k andar bana dijiye chalega... Algse banao ge tho samajh meh nehi ayega

  • @sohanwagh1555
    @sohanwagh1555 Год назад +1

    Sir please, Ye JWT auth React js Ke saath kaise implement kaise karna hai , ye bhi sikhaiye

  • @ThePHPPOINT
    @ThePHPPOINT Год назад

    Thank guru ji

  • @IncredibleGilgitBaltistan
    @IncredibleGilgitBaltistan Год назад

    just great

  • @abhishekdutt1019
    @abhishekdutt1019 9 месяцев назад

    best video

  • @kokirisanjaya4692
    @kokirisanjaya4692 5 месяцев назад +1

    Hello sir header mein token paste nehi horaha he

  • @odiatechhelp4582
    @odiatechhelp4582 Год назад

    sir plzz make videos on how to make multi tenant application /multi tenant backend setup etc

  • @NikhilWeb
    @NikhilWeb Год назад +1

    *sir how to secure website and what to keep in mind before hoisting. How to secure source code from developers tool. like I hosted a website throw hoistinger but mere code dekh raha hai by opening chrome developer tool on sources. Make a video on it how to secure a website and what to keep in mind before hoisting for security purpose reply sir*

  • @visinigiri-aditya
    @visinigiri-aditya Год назад

    Node js ka Playlist Description me Dal Dijye 💕

  • @vishalsingercreation
    @vishalsingercreation 3 месяца назад

    👍

  • @simpleguruji9729
    @simpleguruji9729 Год назад

    Please make a video on data validation using express-validator.

  • @khushaboosonawane3232
    @khushaboosonawane3232 18 дней назад

    sir please angular17 pare lecture lekare auo na

  • @HassanShaikh-xm3nf
    @HassanShaikh-xm3nf Год назад

    sir agr ap angular ya phir react me sy aik language ko prefear krna chahyn to kis language ko prefear karyn gy. mujhy?

  • @vampireop09
    @vampireop09 10 месяцев назад

    nice

  • @SonuKumar98513
    @SonuKumar98513 Год назад

    Start node js projects: making e-commerce website

  • @bhaskargautamdivcroll4607
    @bhaskargautamdivcroll4607 9 месяцев назад

    sir how to use axios with interceptor please make video

  • @prateekjain7785
    @prateekjain7785 Год назад

    Sir ap thoda atlas k bare m Batadijye is series m please...

  • @abdullahalnomaan9735
    @abdullahalnomaan9735 10 месяцев назад

    sir please make angular project plz sir.

  • @sportsstimulant4228
    @sportsstimulant4228 Год назад

    Bhai Maine backend learn kar raha hu just ,ek doubt tha puch raha hu , suppose agar koi registration form and log in form banana hai to kya formik and yup use karte hai react per ? And authintication kya alag se karna parega ? I mean first form validation uske bad authintication??
    Or ek bat kya passport.js and jwt both use eksath karte hai ya alag alag hai dono ??

    • @satyakamdash2052
      @satyakamdash2052 Год назад

      Yes u need to do form validation first to send safe types of required data to the backend and after that authentication in backend comes to the picture

  • @adrianahenry7396
    @adrianahenry7396 Год назад +1

    Sir is it first tutorial regarding this

  • @pritomdutta6154
    @pritomdutta6154 Год назад +1

    Please sir beginner kelia a mern stack project laiye

  • @user-xb6xk8cv6y
    @user-xb6xk8cv6y Год назад +1

    can u plz give me the source code limk

  • @shubhamgupta-bl1tr
    @shubhamgupta-bl1tr Год назад

    One video on oauth

  • @Amanjaisingh
    @Amanjaisingh Год назад

    hello brother mene same kiya but unhandeled promise bta raha hai i thin jwt v9 main kuch changes aye hai ... help

  • @yogen7755
    @yogen7755 8 месяцев назад

    have you pushed this code on git? while verifying token i am getting token as undefined

  • @ohhoDhodpuria
    @ohhoDhodpuria Год назад +1

    Bhai ji namaskar

  • @life-lessonn.
    @life-lessonn. 7 месяцев назад

    what is the difference between jwt token and express-session ?

  • @azimmemon4922
    @azimmemon4922 11 месяцев назад

    Sir deployment bh bata do na please..!

  • @pranavsaykar5386
    @pranavsaykar5386 Год назад

    node js with angular ke video kab ayenge

  • @abd-ur-rehman5388
    @abd-ur-rehman5388 Год назад +1

    where is git hub code?

    • @user-nq4gy3si1o
      @user-nq4gy3si1o 11 месяцев назад

      please source code of this project?

  • @deeptisaxena7088
    @deeptisaxena7088 Год назад +1

    I didnt see git hub link
    Can you share with us

  • @yogen7755
    @yogen7755 8 месяцев назад

    Anything wrong in this
    app.post("/profile",verifyToken,(req,resp)=>{
    jwt.verify(req.token,seckey,(err,authData)=>{
    console.log("verify token:-"+req.token)
    console.log("verify pass:-"+seckey)
    if(err)
    {
    resp.send({result:"invalid token"})
    }else
    {
    resp.send({
    message:"valid token",authData
    })
    }
    })
    })

  • @Khatushyamkebhagat003
    @Khatushyamkebhagat003 Год назад

    Hello sir node js frontend me aata h ya backend aata h

  • @pritomdutta9179
    @pritomdutta9179 Год назад

    sir jwt token ko refresh kaise kare, suppose user 2hr tak mere website par hai but 2hr ke baad user ko ferse login karna padega, so usko kaise handle kare, plz help sir

  • @kimayapanash8998
    @kimayapanash8998 Год назад +1

    What's your Github profile LInk?

  • @user-yp7px5sz5c
    @user-yp7px5sz5c Год назад

    can i generate token without timer ('expiresIn ') ?

  • @prateekjain7785
    @prateekjain7785 Год назад

    Sir Or bhi videos ayege kya..? Jwt k

  • @k.ashutoshbaitharu3964
    @k.ashutoshbaitharu3964 Год назад

    How can we attach token to req header???

  • @AbdulSattar-uv5rq
    @AbdulSattar-uv5rq Год назад

    front end pe node js main ejs se kase bheje

  • @user-nq4gy3si1o
    @user-nq4gy3si1o 11 месяцев назад

    Course complete kar liya ap ne starting me kaha ke source code ka link dedonga, mujhe nhe mil rha plz ?

  • @mdraihanulislamtomal6064
    @mdraihanulislamtomal6064 Год назад +1

    source code!?

  • @ridingmiles6690
    @ridingmiles6690 Год назад

    Node with Mongo and Mysql k upar chahiye brother

  • @QuickTrendVideos
    @QuickTrendVideos Год назад

    Amazing project sir.
    Please send code

  • @user-nq4gy3si1o
    @user-nq4gy3si1o 11 месяцев назад

    Sir please is project ka full source code ka link add karde aur please update karde ?

  • @meetshujah
    @meetshujah 25 дней назад

    sir where can i get this code?

  • @user-nq4gy3si1o
    @user-nq4gy3si1o 11 месяцев назад

    Sir i am looking the source of this whole project ?

  • @himanshi191
    @himanshi191 Год назад

    sir ham cookies or session kase bna skte hai

  • @mithlesh72.
    @mithlesh72. Год назад

    yaha to copy past krke bhej diye token ko profile post method me . lekin jb actual me emplement krenge to kese bhejenge sir

    • @chetankumar9463
      @chetankumar9463 Год назад

      I guess browser khud bhejta hai jab hm kuch search karte hai

    • @mithlesh72.
      @mithlesh72. Год назад

      @@chetankumar9463 nhi bro bhejne ar recive krne ke liye cookie ar bearheader ye sb use krte hai ase ase 4,5 tarike hai bhejna ar recive krne ke . Thapa sir cookie use krte hai playlist me pura achhe se btaye hai esi me

  • @mohammadharis1872
    @mohammadharis1872 11 месяцев назад

    How to logout?

  • @pesmobilegaming5517
    @pesmobilegaming5517 Год назад

    How to deploy this website on server?