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

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ธ.ค. 2024

ความคิดเห็น • 267

  • @yashjoshi5709
    @yashjoshi5709 ปีที่แล้ว +18

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

    • @krisharora8774
      @krisharora8774 7 หลายเดือนก่อน +1

      right brother ji samajhna tha vo to btaya nii😐

    • @adityakhot2319
      @adityakhot2319 หลายเดือนก่อน

      sirf copy paste aur import kar raha hai

  • @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.

  • @AnubhabKundu
    @AnubhabKundu 6 หลายเดือนก่อน +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 ?

    • @Truysジャ
      @Truysジャ ปีที่แล้ว

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

    • @nagraj7569
      @nagraj7569 ปีที่แล้ว

      @@Truysジャ
      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 ปีที่แล้ว

      @@Truysジャdid you able to handle it i am facing the same issue

  • @manishgupt1879
    @manishgupt1879 ปีที่แล้ว

    Thanks

  • @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

    • @advancehacking
      @advancehacking ปีที่แล้ว

      Share your experience plz

    • @ashwinajmery6071
      @ashwinajmery6071 ปีที่แล้ว

      Yes I want also Kafka please

    • @7-ShashwatPParihar
      @7-ShashwatPParihar ปีที่แล้ว

      ​have you implemented the JWT auth completely, can we connect i have a query

    • @princekumaryadav_1717
      @princekumaryadav_1717 ปีที่แล้ว

      ​@@7-ShashwatPPariharcan we connect for peer learning

  • @KaranPatil-n8s
    @KaranPatil-n8s 11 หลายเดือนก่อน +10

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

  • @TanujKumarSaini
    @TanujKumarSaini ปีที่แล้ว +5

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

  • @RishabhRaghwendra
    @RishabhRaghwendra 9 หลายเดือนก่อน +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?

  • @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.

  • @amolpatil2140
    @amolpatil2140 8 หลายเดือนก่อน

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

  • @tusharpatil1990
    @tusharpatil1990 ปีที่แล้ว +28

    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

    • @abhisheknag1929
      @abhisheknag1929 ปีที่แล้ว +1

      yes ye video chahiye

    • @sahildabur
      @sahildabur ปีที่แล้ว +2

      please make a video on this
      @Durgesh

    • @rohinikulkarni8097
      @rohinikulkarni8097 ปีที่แล้ว

      Yes..please make video on role based authentication with jwt token ..

    • @himanshuingole1819
      @himanshuingole1819 10 หลายเดือนก่อน

      Yes yes we need a Vedio asap

    • @deepnikode4030
      @deepnikode4030 3 หลายเดือนก่อน

      Yes we need this...

  • @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.💌

  • @saikiranreddy7284
    @saikiranreddy7284 7 หลายเดือนก่อน

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

  • @RAvtar-yp9pp
    @RAvtar-yp9pp 8 หลายเดือนก่อน

    Too good sir value for time .
    Love from Bhubaneswar Odisha

  • @jyotiparnamandal2260
    @jyotiparnamandal2260 หลายเดือนก่อน

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

  • @Himanshubishnoi-td3nh
    @Himanshubishnoi-td3nh 9 หลายเดือนก่อน

    thank you sir 💗, you are making India learn technology

  • @surbhijain7673
    @surbhijain7673 หลายเดือนก่อน

    Thanks sir etna acha padhane k liya!!❤❤

  • @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❤❤

  • @anilkumarsharma2143
    @anilkumarsharma2143 6 หลายเดือนก่อน

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

  • @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.

  • @anjalik1012
    @anjalik1012 3 หลายเดือนก่อน +1

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

  • @prabhatshahi761
    @prabhatshahi761 ปีที่แล้ว

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

  • @fabrinogbg7463
    @fabrinogbg7463 5 หลายเดือนก่อน +2

    we can use the record for users instead of lombok.

  • @SaurabhKumar-bn4gh
    @SaurabhKumar-bn4gh 10 วันที่ผ่านมา

    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?

  • @sourav0009
    @sourav0009 ปีที่แล้ว +4

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

  • @Easyalgorithms
    @Easyalgorithms 5 หลายเดือนก่อน

    Best explanation, very grateful to you

  • @kamleshgehlot2160
    @kamleshgehlot2160 4 หลายเดือนก่อน

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

  • @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 🙏

  • @SANTOSH-e3m3c
    @SANTOSH-e3m3c 10 หลายเดือนก่อน

    Very Helpful topic sir, Thanks a lot

  • @abhishekdubey5336
    @abhishekdubey5336 9 หลายเดือนก่อน

    Behatareen tarika 👍👌

  • @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 9 หลายเดือนก่อน

      Can you provide the code structure or github link please

  • @ritikaagrawal769
    @ritikaagrawal769 6 หลายเดือนก่อน +1

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

  • @VinayKumar-xo3fn
    @VinayKumar-xo3fn ปีที่แล้ว

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

  • @mohdyaseenkhan9147
    @mohdyaseenkhan9147 ปีที่แล้ว

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

  • @shubhamprajapati2476
    @shubhamprajapati2476 ปีที่แล้ว

    So helpful, thank you so much durgesh.

  • @priyankabhendarkar
    @priyankabhendarkar 8 หลายเดือนก่อน

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

  • @VijaykumarX-mv8zy
    @VijaykumarX-mv8zy ปีที่แล้ว

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

  • @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.

  • @TanujKumarSaini
    @TanujKumarSaini ปีที่แล้ว +2

    Please make a video on OAuth 2.0 Google login with Springboot

  • @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.

  • @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

  • @ApnaVlogs-tj7do
    @ApnaVlogs-tj7do ปีที่แล้ว

    Best explanation, I have seen so far

  • @amitkumarkhade7988
    @amitkumarkhade7988 11 หลายเดือนก่อน

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

  • @pratikkarodade3238
    @pratikkarodade3238 ปีที่แล้ว +2

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

    • @FarmanOfficial777
      @FarmanOfficial777 10 หลายเดือนก่อน

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

  • @AtharvaChavan-qt6tz
    @AtharvaChavan-qt6tz ปีที่แล้ว +1

    Eagerly Waiting for this video🤩

  • @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"

  • @sharuk3545
    @sharuk3545 8 หลายเดือนก่อน

    Best video for Jwt Authentiocation

  • @manikkore4019
    @manikkore4019 11 หลายเดือนก่อน +1

    Hi @Durgesh sir, my query is in this method
    JwtResponse response = JwtResponse.builder()
    .jwtToken(token)
    .username(userDetails.getUsername()).build();
    what is builder mehod,
    in my project it gives error for builder() method. I have added same like you. Please solve this query

    • @vasuaggarwal9883
      @vasuaggarwal9883 10 หลายเดือนก่อน

      In the JwtResponse class you created add @Builder just like getter and setter

  • @ShubhamJain-gz9rt
    @ShubhamJain-gz9rt 11 หลายเดือนก่อน +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.

  • @AnubhabKundu
    @AnubhabKundu 6 หลายเดือนก่อน

    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.....

  • @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

  • @CSSachinSasane
    @CSSachinSasane 9 หลายเดือนก่อน +1

    does this tutorial contain role based authentication

  • @ranjitdesai3926
    @ranjitdesai3926 ปีที่แล้ว +1

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

    • @anirudhbhardwaj2693
      @anirudhbhardwaj2693 10 หลายเดือนก่อน

      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.

  • @daman3074
    @daman3074 8 หลายเดือนก่อน

    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

  • @rahulmahajan6769
    @rahulmahajan6769 9 หลายเดือนก่อน

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

  • @mohammedthaqi5567
    @mohammedthaqi5567 6 หลายเดือนก่อน

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

  • @IndianYakker
    @IndianYakker 6 หลายเดือนก่อน

    Thanks Durgesh - Rahul from Pune

  • @mineemisha1875
    @mineemisha1875 5 หลายเดือนก่อน

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

  • @ma.vikramdehariya7819
    @ma.vikramdehariya7819 4 หลายเดือนก่อน

    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...

  • @AkshanshSharma-zr8wu
    @AkshanshSharma-zr8wu 11 หลายเดือนก่อน +1

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

  • @kevalpatani5654
    @kevalpatani5654 5 หลายเดือนก่อน

    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

  • @32_ec_divagupta22
    @32_ec_divagupta22 8 หลายเดือนก่อน

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

  • @akshaymore6659
    @akshaymore6659 10 หลายเดือนก่อน

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

  • @bikrammitra4067
    @bikrammitra4067 ปีที่แล้ว

    can you give me a more specific guide to databse based auth, i did see your new video of 40 mins and many things aren't working like user detail service and many other things are changed when compared from this project

  • @oneclick8403
    @oneclick8403 ปีที่แล้ว

    yrr ye bnda kitna awesome h yrr😂😂😂

  • @techguru151
    @techguru151 ปีที่แล้ว

    Excellent tutorial.

  • @ayushmishra430
    @ayushmishra430 ปีที่แล้ว

    Hi durgesh can you do thia thing in the exam portal project all the methods are deprecated and we are facing a lot of problems.. Thanks..

  • @RonitPandey-z5r
    @RonitPandey-z5r ปีที่แล้ว

    Sir please kya aap iska ek documented code de sakte hain . Spring security bahut confusing hai kuch samajh nahi aa raha hai . Aur kya iska ham ek E - Commerce app mein bhi use kar sakte hain

  • @CodewithJavaInfinity
    @CodewithJavaInfinity 4 หลายเดือนก่อน

    Hey Bro ,I was unable to find the source code when I clicked on the link that sent me to your website. Could you help advise where I might find the source code?

  • @daman3074
    @daman3074 8 หลายเดือนก่อน

    how should i use authentication manager builder in springboot 3?

  • @muna12333
    @muna12333 ปีที่แล้ว

    How to do Authentication in db configure ? You show only inmemmory confiq. please share a video with db also.

  • @SmitDevani-g2z
    @SmitDevani-g2z ปีที่แล้ว +1

    Hello Sir Please Do video Of Spring Security With OAuth2

  • @7-ShashwatPParihar
    @7-ShashwatPParihar ปีที่แล้ว

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

  • @Bhoomi__Vlog
    @Bhoomi__Vlog 8 หลายเดือนก่อน

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

  • @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

  • @sudhanshusaini9549
    @sudhanshusaini9549 ปีที่แล้ว

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

  • @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 ?

  • @yaminivasudevan9573
    @yaminivasudevan9573 ปีที่แล้ว

    So helpful, thank you so much!

  • @deepaksingh-z2c7j
    @deepaksingh-z2c7j ปีที่แล้ว

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

  • @kartikeymaurya1868
    @kartikeymaurya1868 ปีที่แล้ว

    Sir , in In memory configuration. Where you have specified the role we can use as normal user in place of admin

  • @deshah.me_
    @deshah.me_ ปีที่แล้ว +1

    @durgesh can we use records instead of Lombok

  • @ankitagnihotri1716
    @ankitagnihotri1716 ปีที่แล้ว

    Hi durgesh can you make video on saml authentication without using okta means custom saml authentication

  • @anilkumarsharma2143
    @anilkumarsharma2143 6 หลายเดือนก่อน

    Thanks Durgesh Sir

  • @AbdulRehman-sd6dn
    @AbdulRehman-sd6dn ปีที่แล้ว

    please share me the code url. i have implement as you have implent but i am gatting unothorized for request of auth/login

  • @moonbaby3320
    @moonbaby3320 ปีที่แล้ว

    Thanks bhai, mujhe ek doubt he, mere pass 2 se jyada microservices he, aur yeh sab sab configuration kaise kare? each n every microservice me same code karna padega? (me basic auth kar raha hu, username as token) toh token toh ek bar hi generate hoga, toh use token ko other microservice me kaise validate karenge? spring boot and angular

  • @jjjjj-l4k
    @jjjjj-l4k ปีที่แล้ว

    which theme u r using in this video ?

  • @roshankatuwal948
    @roshankatuwal948 ปีที่แล้ว +1

    Thank you very much for this video. Can we get the source codes?

  • @siddhanathpore5866
    @siddhanathpore5866 ปีที่แล้ว

    Hi Durgesh we want a login module with jwt authentication with security of 3.1 please please do that for us

  • @nikhilshukla8963
    @nikhilshukla8963 9 หลายเดือนก่อน

    very well explained sir Nikhil Lucknow

  • @tanmaybonde8391
    @tanmaybonde8391 ปีที่แล้ว

    java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "requestToken" is null can anyone help me in this

  • @marutinimbalkar
    @marutinimbalkar ปีที่แล้ว

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

  • @Raj_Gada
    @Raj_Gada ปีที่แล้ว

    It would also be very helpful if you provided reference from where you learned.

  • @durgeshchirmade2364
    @durgeshchirmade2364 11 หลายเดือนก่อน

    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?

  • @WorldOfMotivation09
    @WorldOfMotivation09 5 หลายเดือนก่อน

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

  • @vinaysoni5071
    @vinaysoni5071 ปีที่แล้ว +1

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

    • @someone-pv9fo
      @someone-pv9fo 11 หลายเดือนก่อน

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

    • @ritikaagrawal769
      @ritikaagrawal769 6 หลายเดือนก่อน +1

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

  • @sonaldhingra2488
    @sonaldhingra2488 ปีที่แล้ว

    Great Tutorial

  • @OPM_TRE4.0
    @OPM_TRE4.0 10 หลายเดือนก่อน

    23:51 the moment i liked the video.

  • @souravkumar1608
    @souravkumar1608 11 หลายเดือนก่อน

    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.