What is JWT Token - JWT vs Session | Why Should You Use JWT 🔥

Поделиться
HTML-код
  • Опубликовано: 16 ноя 2024

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

  • @TechnicalSuneja
    @TechnicalSuneja  4 года назад +40

    Samaj aya ya nhi ????

    • @abhishektailor6672
      @abhishektailor6672 4 года назад

      Yes samaj aya
      but one doubt
      Kya token ko client side me local storage me save rakhna hoga So that sabhi request me pass ker sake use? Please clear my confusion

    • @khushahmed97
      @khushahmed97 4 года назад

      @@abhishektailor6672 jab bhi hum login krte hai to generated token http header me save hota hai

    • @shahnawazz123
      @shahnawazz123 4 года назад

      Offcourse, thanks a lot to given a good topic..

    • @rohankumar393
      @rohankumar393 4 года назад

      @@abhishektailor6672
      Yes. Suppose you have nodejs as back-end and reactjs as front end.
      When you send login request to back-end, nodejs will return the token either as json format or plain text based on function used wether res.json or res.send.
      After receiving token, save the token on local storage and add it to header of each request sent.

    • @dhrumilgohil6072
      @dhrumilgohil6072 3 года назад

      Ya sir Fully understandable But JWT is used only when we have 2 server?? if i will deploy my web app on single server then which is the best approach Session token or JWT?? Hopping for your prompt response...Thank you in advance !

  • @angmathew4377
    @angmathew4377 3 года назад

    I like the way when you said "chaltey hain screen pe"

  • @arpitanand6534
    @arpitanand6534 3 года назад +4

    It is better to use assymetric cryptography while signing JWT in production level, instead of a small secret key

  • @depression_plusplus6120
    @depression_plusplus6120 11 месяцев назад +1

    Jwt architecture was introduced considering the stateless architecture pros...
    However, now to secure this stateless architecture, we need stateful/session architecture somewhere 🤣🤣🤣
    Here, one of the biggest flaw can be...a user changes the password, but if a hacker gets jwt that was before the user changed his password...then this change in password doesn't matter to hacker until the token expires...
    To tackle this, we need a database to store these tokens😐...what a mess

  • @mojeebhasan5283
    @mojeebhasan5283 3 года назад +3

    How actually JWT is validated on backened api?. I actually want to know how jwt work behind the scene with dry run of the library being used to validate JWT. Another question is only signature or hash value is matched using header and payload?

  • @neutralengineer3873
    @neutralengineer3873 4 года назад +5

    Awesome explanation Ajay...

  • @youtubestatuspoint8573
    @youtubestatuspoint8573 2 года назад +1

    Please Make a Video on Community Aauth how to use it in existing ci 3 project

  • @kamalCode
    @kamalCode 4 года назад

    Sir, top 10 indian payment gateway कौन कौन से हैं। केवल indians हों। जैसे paykun और ..

  • @Mahesh_Ku_p
    @Mahesh_Ku_p 2 года назад +1

    kya jab mai logout kar k phir login krunga to mera token bhi change ho jayega?

  • @devlyf8521
    @devlyf8521 3 года назад +1

    Is it create new token on every login with same user or different generate different token? How token is matched with server? Please explain.

  • @Amit-018r
    @Amit-018r 4 года назад +3

    Nice explanation
    Pls start series of laravel 8 and codeigniter 4.

  • @riteshgoswami1596
    @riteshgoswami1596 4 года назад +1

    Thanks sir I was waiting jwt topic s

  • @ganeshk8682
    @ganeshk8682 3 года назад

    good.. but looking for next video .thumbs up

  • @sachinsachan327
    @sachinsachan327 3 года назад +1

    Thanks Sir, my question is where webapi stores the token in server side?

  • @chandansharma6849
    @chandansharma6849 4 года назад +2

    sir how to disable multiple login of the same user at same time using jwt token in spring boot

  • @Vinayak123-q8p
    @Vinayak123-q8p 2 года назад

    It's our channel so also share me money kidding. Nice explanation

  • @chetanpl
    @chetanpl 3 года назад +1

    Bro please suggest from where i can learn and practice load balancer. Plz suggest

  • @kts.laraveldeveloper7646
    @kts.laraveldeveloper7646 3 года назад +1

    Hello Sir, Me laravel me as a Front-end React JS use kar raha hu.to react me jab user login karta he to login karne ke bad user ki details store karvane ke liye ham JWT use kar sakte he?? if not, then please tell me how to store user information after login in React Js?.

  • @bhavyakumarpanchotiya8254
    @bhavyakumarpanchotiya8254 4 года назад +2

    give me the list of which topics are covered in javascript before starting react js or any framework of JavaScript

  • @vijaynavale3919
    @vijaynavale3919 4 года назад +2

    Nice explanation 👍

  • @shivamgupta5476
    @shivamgupta5476 4 года назад +1

    bhai , Nice video , but please explain in brief with tutorial , Also mongo db integration

  • @sameersameer5288
    @sameersameer5288 3 года назад

    Thanks Ajay/Vijay

  • @vanshikashah3013
    @vanshikashah3013 4 года назад +1

    Very nice vedio bhai but thoda voice me..

  • @chiragtaneja4
    @chiragtaneja4 4 года назад +1

    Nice Explanation

  • @musawirshaikh1208
    @musawirshaikh1208 4 года назад

    Sir isi trah se PHP and advanced PHP par bhi video banao

  • @angmathew4377
    @angmathew4377 3 года назад +1

    Although lot is still need to be there but your style certainly travels.

  • @jaypatel1809
    @jaypatel1809 4 года назад +2

    Make video on flutter ,kotlin ,java ,react native, Swift

  • @harshitgupta4131
    @harshitgupta4131 4 года назад +1

    Data structures and algorithms with javascript

  • @souravd2661
    @souravd2661 2 года назад +1

    very usefull.. thank you.. your explaination is superb!!!!

  • @shivamrai1322
    @shivamrai1322 4 года назад +1

    Sir ji tussi great ho

  • @sunilnegi9296
    @sunilnegi9296 4 года назад +1

    Sir please create a video how to protect php code - SQL injection ?
    Or how to secure php code like session, cookies, post data, get data etc

  • @MultiAkash1988
    @MultiAkash1988 3 года назад

    best place to store JWT Token??

  • @praveenkumar08
    @praveenkumar08 4 года назад

    Sir database pe bhi video bano like cros acid index trigger courser etc

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

    Sir php ke upar vi banao eisa video

  • @shabbiraziz
    @shabbiraziz 2 месяца назад

    How to use in node JS can you make a small code for that

  • @shubhamtarkar38
    @shubhamtarkar38 4 года назад

    Front end me localstorage me store kia he toke ????

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

    Thanks.... ❤️❤️

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

    Can anyone please tell me that where these sessionId stored at server side, because if sessionId is stored also on database at server side, then any server can retrive that related data from Database?

  • @NaadeAliLIVE
    @NaadeAliLIVE 4 года назад

    Bhai Koi Aesi Website Ya Software Batao Jis Ke Sath Hum Apni Live Stream Video Main Local Cricket Matches Ka Live Score Dikha Saken

  • @sakshampandey7440
    @sakshampandey7440 3 года назад

    the best thing about you is, you can connect with us.

  • @js-swift
    @js-swift 4 года назад

    thx a lot for this video bhaiya

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

    Thanks a lot.

  • @mr.anonymous6640
    @mr.anonymous6640 3 года назад +1

    I loved your way of explanation 💖

  • @nadeemshaikh1767
    @nadeemshaikh1767 4 года назад

    Bhai job ke liye Linux aana zaruri hai kya plz tell me

  • @kanikamarketer5214
    @kanikamarketer5214 4 года назад +1

    sir how to integrate delhivery logistic in php for ecommerce plz help me sir

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

    what if I send my token to my friend?

  • @babluagrahari917
    @babluagrahari917 4 года назад

    Sir please plane video how to record codeing tutorial video for RUclips.

  • @kamalshrm97
    @kamalshrm97 3 года назад

    hello sir how to deploy my nodejs app in shared hosting Cpanel please guide me

  • @khushahmed97
    @khushahmed97 4 года назад

    Sir please make a video on paytm or paypal payment gateway integration in Mern app

  • @investmentplan880
    @investmentplan880 4 года назад

    Access or refresh

  • @surendrajat7290
    @surendrajat7290 2 года назад

    nice video

  • @humsathhai2580
    @humsathhai2580 2 года назад

    Not complete video how JWT working

  • @usmanakbar8592
    @usmanakbar8592 2 года назад

    Nice

  • @32sanketmohite52
    @32sanketmohite52 4 года назад +1

    🔥🔥🔥

  • @khasim4u4u
    @khasim4u4u 2 года назад

    everyone showing same thing again and again..hmm..how to generate refresh token and where you save the auth token and refresh token and how you are going to handle once the auth token expires no one do video on this...just for the sake of views you all are

  • @AnandSharma-kz2bs
    @AnandSharma-kz2bs 4 года назад +1

    sir what about that secret key is it randomly genreated or
    we have to use some special symbol for it

  • @stiphenrobert4469
    @stiphenrobert4469 4 года назад +1

    Js object aur json me farak kya hai..

    • @TechnicalSuneja
      @TechnicalSuneja  4 года назад +2

      let person = { name : "Erik Wolfgang", location : "Europe", established : "1945"}
      JSON SYNTAX
      { "name":"Ben Halp", "age":35, "car": null, "address":{ "street": "55, cathedral road", "city": "Boston", "cop" : true //Boolean }, "hobbies":["reading", "golfing"] //Array }

    • @stiphenrobert4469
      @stiphenrobert4469 4 года назад +1

      Toh fir hum js object kab use karenge or json kab use karenge..

  • @investmentplan880
    @investmentplan880 4 года назад

    Sir sumj gye ha ji qki hum api par hi kaam krta ha ji

  • @ashishchaturvedi3319
    @ashishchaturvedi3319 4 года назад +2

    Sound is not that clear

    • @TechnicalSuneja
      @TechnicalSuneja  4 года назад

      Sry for this time actually there were some issue while exporting the video.

    • @ashishchaturvedi3319
      @ashishchaturvedi3319 4 года назад +1

      @@TechnicalSuneja no problem information matters sound doesn't

  • @ganeshk8682
    @ganeshk8682 3 года назад

    Dekte he..karu Thubs up ki nahi

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

    Apki site ka UI achha nahi he bro

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

    confing foe begginers

  • @vi.shalbhardwaj
    @vi.shalbhardwaj 4 года назад

    RUclips par php ko complete achi trah koi nhi smjhata

  • @androiddev7267
    @androiddev7267 2 года назад

    awaaz fati fati si aa rahi hai
    buy a good mic, abhi sale chal raha hai

  • @ramavhad3586
    @ramavhad3586 4 года назад +1

    first

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

    bhai tumhe samjhnana nahi aata. tum kewal show off karta hai.

  • @DeepanshMaurya-w7i
    @DeepanshMaurya-w7i 5 месяцев назад

    Bekar 👎

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

    Sir nodejs, expressjs, mongodb k upar video banaiye

  • @digitalchy5241
    @digitalchy5241 Месяц назад

    kuch nahi samaj me aayaa bhaiii...