🔥Complete Jwt Authentication with Spring Boot 3.1 in one video | Hindi

Поділитися
Вставка
  • Опубліковано 28 січ 2025

КОМЕНТАРІ • 269

  • @yashjoshi5709
    @yashjoshi5709 Рік тому +18

    jo mushkil part tha vaha "Baat samajh mai aayi" bolke chala gaya, shi hai !

    • @krisharora8774
      @krisharora8774 8 місяців тому +1

      right brother ji samajhna tha vo to btaya nii😐

    • @adityakhot2319
      @adityakhot2319 2 місяці тому

      sirf copy paste aur import kar raha hai

  • @manishgupt1879
    @manishgupt1879 Рік тому

    Thanks

  • @AnubhabKundu
    @AnubhabKundu 7 місяців тому +4

    Durgesh ji, this video is so OP! Please break the video into separate chapters, or parts so sectional focus is improved. I learnt setting up spring security from this lecture , the first 33 percent of the video....
    Love from West Bengal!

  • @nagraj7569
    @nagraj7569 Рік тому +7

    The way you differentiated deprecated and latest updates was great, most of the people just continue with current versions that won't work with people who are watching in future. You did a great job.
    Can you make another separate video on HTTP-only Cookies with local storage along with spring security ?

    • @Kaiser_Kroos
      @Kaiser_Kroos Рік тому

      Some of the methods in "JwtHelper" like "signwith()" are deprecated how you handle that. Pls reply.

    • @nagraj7569
      @nagraj7569 Рік тому

      @@Kaiser_Kroos
      I don't have prior knowledge. After searching I found that
      JwtBuilder signWith(Key var1, SignatureAlgorithm var2) throws InvalidKeyException; this method is not marked for deprecated. Once check it out. Hope it helps

    • @gourangaborah9861
      @gourangaborah9861 Рік тому

      @@Kaiser_Kroosdid you able to handle it i am facing the same issue

  • @TanujKumarSaini
    @TanujKumarSaini Рік тому +5

    I was eagerly waiting for this video.......Thanks a lot Durgesh bhaiya😊

  • @SUMITPal-bl2jm
    @SUMITPal-bl2jm Рік тому +5

    Sound of advertising is so irritating, please don't use sound in upcoming tutorials🙏.
    You don't need to give extra attention,
    already a legend.

  • @KaranPatil-n8s
    @KaranPatil-n8s Рік тому +10

    Very true and genuine Teacher. Your videos are valuable to us Sir.
    Love From Pune, Maharashtra

  • @shikhasoni4785
    @shikhasoni4785 Рік тому +11

    Hello sir, I’m very grateful to you, have learned so much from your Videos and got a job.. please make a video on Kafka with springboot… please pleaseeeee

  • @rajeevranjanmishra1188
    @rajeevranjanmishra1188 Рік тому +2

    This is your 1st video I am watching. I have already learnt security with jwt but never implemented it totally, also searching resources to go in depth of spring boot. It was helpful, looking forward to watch your other videos. Also subscribed your channel. Keep up the good work, brother.💌

  • @sonitrajput7590
    @sonitrajput7590 Рік тому +1

    your method of teaching is very unique....

  • @vishalgoel7661
    @vishalgoel7661 Рік тому +7

    Sir what I feel that you have make video on almost every topic but still student communicty is facing issue . Isuue is that many of us donot know why are we doing this.
    I think we need a dedicated playlist on complete spring security module Like types of authentication in spring security with detailed theoretical and practical explanation.
    It is ok if you skip basic or in memory authencation. But JWT ,Oauth2.0 are topics which we are unable to implement jist by reading documentaions.
    Like you have a 100+ videos on spring boot . In this way if you make a seprate and organised playlist on spring security, then it will be very helpful for us.
    Thnxs for doing this contribution for studnet community sir.

  • @saikiranreddy7284
    @saikiranreddy7284 8 місяців тому

    JWT authentication done with the help of this lecture good explanation i am from hyderabad

  • @amolpatil2140
    @amolpatil2140 9 місяців тому

    Explained well thank you so Much durgesh Sir....🙏🙏🙏

  • @mddilshan5474
    @mddilshan5474 Рік тому

    Amazing explanation step by step , you made my day ,i was very worried to thinking about to learn JWT authentication but you make this very simple Love you bro❤❤

  • @Rudra-v5r
    @Rudra-v5r 9 місяців тому

    Too good sir value for time .
    Love from Bhubaneswar Odisha

  • @tusharpatil1990
    @tusharpatil1990 Рік тому +29

    Hello bhai, Can you make video on role based authentication and JWT token with DB connectivity with username and password and also make video on role based authentication and JWT token with DB connectivity but with 3 fields i.e. Company Id, Username and Password @Learn Code With Durgesh

  • @noob_player_in_the_field
    @noob_player_in_the_field Рік тому +3

    thanks for the extremly detailed video. also need the video to store user in db and get from db.

  • @prabhatshahi761
    @prabhatshahi761 Рік тому

    very happy to see such kind of videos: i am from muzaffarpur(bihar)

  • @anilkumarsharma2143
    @anilkumarsharma2143 7 місяців тому

    Hello Sir, Appki tutorial bahut achcha ha, sir aise hi continue karte rahiye

  • @surbhijain7673
    @surbhijain7673 2 місяці тому

    Thanks sir etna acha padhane k liya!!❤❤

  • @RishabhRaghwendra
    @RishabhRaghwendra 10 місяців тому +3

    jwt token ka fayda hi kiya jab har request pe db me se user ko valid karna pad raha hai. Isse toh db pe queries or marni padegi fir fayda kiya jwt ka?

  • @Himanshubishnoi-td3nh
    @Himanshubishnoi-td3nh 10 місяців тому

    thank you sir 💗, you are making India learn technology

  • @paulsnehasish5830
    @paulsnehasish5830 Рік тому +1

    by waching this I have successfully migrated the Blog-App-Backend project from springboot 2.7.0 to 3.1.0

    • @PallabChatterjee18
      @PallabChatterjee18 10 місяців тому

      Can you provide the code structure or github link please

  • @Easyalgorithms
    @Easyalgorithms 6 місяців тому

    Best explanation, very grateful to you

  • @sharuk3545
    @sharuk3545 9 місяців тому

    Best video for Jwt Authentiocation

  • @jyotiparnamandal2260
    @jyotiparnamandal2260 2 місяці тому

    Superb. Really very helpful. Learned and executed as well. Please make tutorials on Kafka and aws as well.😀. Thank you very much.

  • @shubhamprajapati2476
    @shubhamprajapati2476 Рік тому

    So helpful, thank you so much durgesh.

  • @priyankabhendarkar
    @priyankabhendarkar 9 місяців тому

    loved the video. Such a good explanation and easy to undertsand.

  • @ApnaVlogs-tj7do
    @ApnaVlogs-tj7do Рік тому

    Best explanation, I have seen so far

  • @VinayKumar-xo3fn
    @VinayKumar-xo3fn Рік тому

    vinay from prayagraj up. this video is very very useful.

  • @AtharvaChavan-qt6tz
    @AtharvaChavan-qt6tz Рік тому +1

    Eagerly Waiting for this video🤩

  • @SaurabhKumar-bn4gh
    @SaurabhKumar-bn4gh Місяць тому +1

    Sir, when I check login user in postman, I had got an error
    "Unable to determine a suitable MAC or Signature algorithm for the specified key using available heuristics: either the key size is too weak be used with available algorithms, or the key size is unavailable (e.g. if using a PKCS11 or HSM (Hardware Security Module) key store). If you are using a PKCS11 or HSM keystore, consider using the JwtBuilder.signWith(Key, SecureDigestAlgorithm) method instead."
    Could you please help me answer this Why is secret key size matter and how we decide secret key in production level?

  • @abhishekdubey5336
    @abhishekdubey5336 10 місяців тому

    Behatareen tarika 👍👌

  • @SANTOSH-e3m3c
    @SANTOSH-e3m3c 11 місяців тому

    Very Helpful topic sir, Thanks a lot

  • @mohdyaseenkhan9147
    @mohdyaseenkhan9147 Рік тому

    very nice explanation sir. your way of explanation great! Thank you

  • @IndianYakker
    @IndianYakker 7 місяців тому

    Thanks Durgesh - Rahul from Pune

  • @VijaykumarX-mv8zy
    @VijaykumarX-mv8zy Рік тому

    great video bhaiya...👌...it was helped alot

  • @MadhuKinneraDev
    @MadhuKinneraDev Рік тому +1

    I think you are reading my mind..what I searched in your channel and wait for new video you will doing that ... Wow

  • @sourav0009
    @sourav0009 Рік тому +4

    Please make a video on OAuth 2.0 with Springboot (Google login)

  • @fabrinogbg7463
    @fabrinogbg7463 6 місяців тому +2

    we can use the record for users instead of lombok.

  • @oneclick8403
    @oneclick8403 Рік тому

    yrr ye bnda kitna awesome h yrr😂😂😂

  • @sourabhVlogs
    @sourabhVlogs Рік тому +3

    Hello Durgesh bhai ..please make video series on Kafka AWS docker kubernates .. you can include this on your previous Microservice series video … please 🙏

  • @AnubhabKundu
    @AnubhabKundu 7 місяців тому

    ek aur recommendation hai Durgesh ji , ki aap imports ko skip mat karna website post pe. isse agar multiple jagah se import honge chize, toh kaunsa lena hoga woh asani se samajh ayega....nahi toh video ko bar bar loop me dekhna kafi time consuming hain.....

  • @vibealagsi1289
    @vibealagsi1289 Рік тому

    I really loved your tutorial. I would say it is the best on this topic.

    • @gourangaborah9861
      @gourangaborah9861 Рік тому

      hey did you change the deprecated methods in the jwtHelper class

  • @ritikaagrawal769
    @ritikaagrawal769 7 місяців тому +1

    On creating the new token for the same user, the old token is not getting expired, how to resolve that?

  • @errahulrajocjp
    @errahulrajocjp Рік тому +1

    Hi Durgesh, Thanks for sharing the knowledge. I request you to please, Create a Session for, "Calling stored procedure using spring Data JPA in Spring Boot Application"

  • @kamleshgehlott
    @kamleshgehlott 5 місяців тому

    please change ding sound 1:14:38 in future videos. its very loud while using earphones.

  • @TanujKumarSaini
    @TanujKumarSaini Рік тому +2

    Please make a video on OAuth 2.0 Google login with Springboot

  • @techguru151
    @techguru151 Рік тому

    Excellent tutorial.

  • @amitkumarkhade7988
    @amitkumarkhade7988 Рік тому

    Great Video. would be more helpful if you code & explain purpose of specific method instead of copying from notes

  • @anilkumarsharma2143
    @anilkumarsharma2143 7 місяців тому

    Thanks Durgesh Sir

  • @yaminivasudevan9573
    @yaminivasudevan9573 Рік тому

    So helpful, thank you so much!

  • @CSSachinSasane
    @CSSachinSasane 10 місяців тому +1

    does this tutorial contain role based authentication

  • @JyotiQualys
    @JyotiQualys Рік тому +3

    Nice tutorial sir,
    Can you please make video on CustomUserDetailsService as well as to store data in DB and integrate it with Swagger-UI in the same application.
    Thanks in Advance.

  • @satyamrathore7228
    @satyamrathore7228 Рік тому +1

    It will be more helpful if you tell us why we are doing all those in a detailed manner you just write down and read the code as it is.

  • @sudhanshumishra2618
    @sudhanshumishra2618 Рік тому

    I am gonna do and learn step by step. Will post here if I get stuck somewhere

    • @sudhanshumishra2618
      @sudhanshumishra2618 Рік тому +1

      I am getting access denied. Debugging is also not helping me.

    • @pureupstairs9538
      @pureupstairs9538 Рік тому

      @@sudhanshumishra2618 did u get the full source code ?

  • @32_ec_divagupta22
    @32_ec_divagupta22 9 місяців тому

    yes sir please make a video with authentication of blog series with database spring 3.1.0

  • @ankit.kumawat_755
    @ankit.kumawat_755 6 місяців тому +1

    Sir Spring Security 3.0 me dataBase connectivity krwa dijiye na INDORE MP

  • @mohammedthaqi5567
    @mohammedthaqi5567 7 місяців тому

    pls make a video of oauth2.0 with spring MVC. Great job what ever you doing currently.

  • @AkshanshSharma-zr8wu
    @AkshanshSharma-zr8wu Рік тому +1

    if any one could explain what is the use of jwtrequest and jwtresponse

  • @ranjitdesai3926
    @ranjitdesai3926 Рік тому +1

    What is the other alternative for @Builder(lombok). Lombok is not working for me. Please help!!!

    • @anirudhbhardwaj2693
      @anirudhbhardwaj2693 11 місяців тому

      It will not work directly, you need to download jar of lombok & paste it into project structure, try to search about it seperately, you will surely find it.

  • @akshaymore6659
    @akshaymore6659 11 місяців тому

    Hello dear please help me I am getting error in Authcontrol.. error r like this ...Cannot resolve method 'builder' in 'jwtResponse'

  • @harshsuchak8370
    @harshsuchak8370 Рік тому

    Great Video!

  • @sonaldhingra2488
    @sonaldhingra2488 Рік тому

    Great Tutorial

  • @ma.vikramdehariya7819
    @ma.vikramdehariya7819 5 місяців тому

    idk how it genertaed token for the first time ? it should come to login API first but filter is there so it went to filter and header is null so it exit...

  • @SmitDevani-g2z
    @SmitDevani-g2z Рік тому +1

    Hello Sir Please Do video Of Spring Security With OAuth2

  • @orlandotigers3168
    @orlandotigers3168 Рік тому

    i love the effort

  • @nikhilshukla8963
    @nikhilshukla8963 10 місяців тому

    very well explained sir Nikhil Lucknow

  • @anjalik1012
    @anjalik1012 4 місяці тому +1

    I feel You should not just copy and paste the code , but explain how you ended up writing that

  • @harshal8781
    @harshal8781 7 годин тому

    In this video you have not shown how you are storing the details in database and fetching it

  • @manishgupt1879
    @manishgupt1879 Рік тому

    great , super

  • @ashwinajmery6071
    @ashwinajmery6071 Рік тому

    Par koi nahi abhi fir se dekhuga or smjhuga ❤😅😂

  • @daman3074
    @daman3074 9 місяців тому

    how should i use authentication manager builder in springboot 3?

  • @pratikkarodade3238
    @pratikkarodade3238 Рік тому +2

    Jwt is not working after following these steps showing "Invalid Header Value !! " in console.

    • @FarmanOfficial777
      @FarmanOfficial777 11 місяців тому

      Bhai jo object bhej raha he use check karle email or password hi bhej raha he na

  • @sajitanahak4259
    @sajitanahak4259 Рік тому

    Thank you so much sir.

  • @ShubhamJain-gz9rt
    @ShubhamJain-gz9rt Рік тому +1

    bhai kuch nhi samjh rha hai. Smart contact manager bana rha tha, JWT security kuch nhi samjha.
    Woh project ko continue karke ek baar sikhao.

  • @kevalpatani5654
    @kevalpatani5654 6 місяців тому

    whenever try to hit authentication login api and it shows access denied message which we written in entrypoint class instead of giving me token
    when I did debug it was just going and stuck in doauthentic method of authenticate call and stuck it
    of authcontroller
    please help

  • @souravkumar1608
    @souravkumar1608 Рік тому

    At Every 3 minutes, maine eski video bana rkhi h, detail me, jaa k dekh lejiye, either explain the logic which you have started or don't put the question in head or give video reference. Although it was good and insightful.

  • @WorldOfMotivation09
    @WorldOfMotivation09 6 місяців тому

    Even afetr adding spring security,I am not getting login form

  • @mineemisha1875
    @mineemisha1875 6 місяців тому

    Sir from where we need to do copy for jwt whatever you are doing ?? ye v bta do ?

  • @opmbpsc
    @opmbpsc 11 місяців тому

    23:51 the moment i liked the video.

  • @monalishamona6603
    @monalishamona6603 Рік тому +1

    Sir please make video on oauth2.0

  • @rahulmahajan6769
    @rahulmahajan6769 10 місяців тому

    Could you please provide any example for Rest API with use all three JWT ,JWS ,JWK

  • @daman3074
    @daman3074 9 місяців тому

    Sir, i have started making exam portal on springboot 3 and unable to configure jwt authentication as there is some issue with database , all other parts are done with the help of this video, can you please help

  • @7-ShashwatPParihar
    @7-ShashwatPParihar Рік тому

    After Making Login APi public and accessing them why it is still asking for tokem in the api call..?

  • @THESANX99
    @THESANX99 10 місяців тому +1

    Still logout feature is missing

  • @nishantlakhara4127
    @nishantlakhara4127 Рік тому

    Thank you Brother

  • @rajupadhyay1745
    @rajupadhyay1745 8 місяців тому

    sir jwt response .builder want to create mthod it show error

  • @Bhoomikaamath
    @Bhoomikaamath 9 місяців тому

    Please can u make vedio of jwt security, and springboot backend project

  • @HIMANSHUSHARMA-kq4pd
    @HIMANSHUSHARMA-kq4pd Рік тому +1

    Ye Configuration karne k baad bhi same 401 Unauthorized aa rha h Postman pe , aur API hit karne k baad console pe kuch show nhi ho rha iska mtlb SecurityChain method he nhi chl rha . Par mene already bhot baar cross check kar liya dono videos ko dekh ke aur SpringBoot+Angular wali ko dekh kar . Par same issue ab bhi bana hua h☹

    • @ManishChaudhari-qc8gu
      @ManishChaudhari-qc8gu Рік тому

      Did you got the solution for this ...Actually I'm facing the same issue

    • @HIMANSHUSHARMA-kq4pd
      @HIMANSHUSHARMA-kq4pd Рік тому

      @ManishChaudhari-qc8gu I'm not able to send you the solution here since all of my comments directly moving to the sp - section

    • @ManishChaudhari-qc8gu
      @ManishChaudhari-qc8gu Рік тому

      @@HIMANSHUSHARMA-kq4pd NP....I resolved that issue....Thanks for your reply

    • @pureupstairs9538
      @pureupstairs9538 Рік тому

      @@HIMANSHUSHARMA-kq4pd did u solve this ? can u provide me the full source code

    • @HIMANSHUSHARMA-kq4pd
      @HIMANSHUSHARMA-kq4pd Рік тому

      @@pureupstairs9538 check my bio

  • @jjjjj-l4k
    @jjjjj-l4k Рік тому

    which theme u r using in this video ?

  • @paulsnehasish5830
    @paulsnehasish5830 Рік тому +1

    sir, can you make a video on how to send the jwt token to httpOnly cookies, as you are sending the token to client and saving in localstorage, it is not recommended to do so

  • @marutinimbalkar
    @marutinimbalkar Рік тому

    How we can authenticate Kerberos based jwt using spring boot 3 ?

  • @vinaysoni5071
    @vinaysoni5071 Рік тому +1

    I got an error "Cannot resolve method parseClaimsJws in JwtParserBuilder", anyone plz help

    • @someone-pv9fo
      @someone-pv9fo Рік тому

      Jwt.ParserBuilder() method is depricated just use Jwt.Parser() method

    • @ritikaagrawal769
      @ritikaagrawal769 7 місяців тому +1

      Jwts.parser().setSigningKey(secret).build().parseSignedClaims(token).getPayload()
      this would work

  • @deepaksingh-z2c7j
    @deepaksingh-z2c7j Рік тому

    hi sir,please make video on consume external api with differ type of authication using restTemplate.

  • @sudhanshusaini9549
    @sudhanshusaini9549 Рік тому

    After using spring security dependency still I’m able to acess api data without any pass or authentication???

  • @maheshgund7330
    @maheshgund7330 8 місяців тому

    Fantastic

  • @SunilBagdawat
    @SunilBagdawat Рік тому +1

    how to perform logout ??? Please help anyOne

  • @theuntrainedsinger1185
    @theuntrainedsinger1185 Рік тому

    should have stored user in database. that is more helpful

  • @durgeshchirmade2364
    @durgeshchirmade2364 Рік тому

    Muze bhi woh /home/users ka page nahi dikh raha hai postman pe bahut try kiya jaise tumne kiya waise but mera current-user ka page bhi access nahi ho raha. anyone please help?