JWT with Spring boot Authentication & Authorization | Spring Security full demo in Spring Boot 3 #1

Sdílet
Vložit
  • čas přidán 22. 08. 2024
  • JWT with Spring boot Authentication & Authorization | Spring Security full demo in Spring Boot 3 | Part #1
    You will learn :
    #Create #Spring Boot #project
    #Create #restapis
    #CRUD operation with #jpa #mysql
    #springsecurity #Authentication #authorization
    GitHub link : github.com/sks...

Komentáře • 50

  • @_PrachiTodkari
    @_PrachiTodkari Před 7 měsíci +15

    This the first video by which I have implemented the JWT authentication without any errors. Thank you.

    • @tech-soft
      @tech-soft  Před 7 měsíci +1

      Thank for your comment, I will try to make easy to understand everyone.

    • @nk461
      @nk461 Před 6 měsíci

      All the other tutorials on CZcams are scam. This one works, thank you @tech-soft

  • @user-yo5vg2jr3t
    @user-yo5vg2jr3t Před 7 měsíci +4

    This is good for beginners (its very simple ) complete demo

  • @sanketsaitawdekar4440
    @sanketsaitawdekar4440 Před 6 měsíci +3

    Finally found a working code. Thankyou so much.

  • @AmitKumar-tb6ze
    @AmitKumar-tb6ze Před 3 měsíci +1

    thank you so much brother for making this video, this help me to remove deprecated code for filterchain method

  • @manishkumarchoudhary6465
    @manishkumarchoudhary6465 Před 7 měsíci +2

    Very easy Explanation, Thank You

  • @swapniltole8384
    @swapniltole8384 Před 5 měsíci +1

    I tried to implement JWT Authentication from last 5 day in my current clients project, but unfortunately I got errors because of version related issues and I never seen video on entire CZcams like this.
    Finally I got what I want, Thanks u sir for this incredible video ❤❤❤❤❤❤❤❤
    Thank you very much again 💕

    • @tech-soft
      @tech-soft  Před 5 měsíci

      Thanks, I will try to make things easy

  • @user-ud7ox9ot7d
    @user-ud7ox9ot7d Před 17 dny

    Thanks dost

  • @user-sk8er2yu3j
    @user-sk8er2yu3j Před 6 měsíci +2

    successfully implemented thanks

  • @barsharani3237
    @barsharani3237 Před 5 měsíci

    Relying upon circular references is discouraged and they are prohibited by default. Update your application to remove the dependency cycle between beans. As a last resort, it may be possible to break the cycle automatically by setting spring.main.allow-circular-references to true.

    • @tech-soft
      @tech-soft  Před 4 měsíci

      Thank you, you are correct

  • @hind5687
    @hind5687 Před 4 měsíci +1

    I took this and it works very well , thank you so much .. please can you do logout ? or give me steeps what i should follow for do it by myself , i'm really in need , thanks

    • @tech-soft
      @tech-soft  Před 4 měsíci

      Thanks for comments, please visit spring security playlist or click on below link JWT Authentication & Authorization, login & logout with Spring boot | Spring Security full demo #3
      czcams.com/video/5EDUnkG6drk/video.html

  • @RabiulIslam-lx1uc
    @RabiulIslam-lx1uc Před 7 měsíci +1

    Good

  • @hpq9650
    @hpq9650 Před 2 měsíci

    thanks bro, i love you

  • @yorrohitofficial
    @yorrohitofficial Před 6 měsíci +1

    Ek project kijiye na using spring boot hibernate MySQL in complete one video and microservices

    • @tech-soft
      @tech-soft  Před 6 měsíci +1

      Thanks for your reply, I will create a microserice tutorial soon

  • @AshuKumar-kw8bi
    @AshuKumar-kw8bi Před 2 měsíci

    maine class hi liya hai User to usrer ko user userDetalis se kaise impliments kar sakte hai

    • @tech-soft
      @tech-soft  Před 2 měsíci

      UserDetail se implement karna hoga kyun ki ye spring ka class hota hai, aap pana custom class ka name kuchh aur v rakh sakte hai, as per my understanding

  • @pankajthakur9760
    @pankajthakur9760 Před 2 měsíci

    Hello great video how integrate this code with html I mean template?

  • @kietkun2002
    @kietkun2002 Před 6 měsíci +1

    i tried with mssqlserver and it not work

    • @tech-soft
      @tech-soft  Před 6 měsíci

      You may need to add correct dilect for mssql and correct db url in application.properties

  • @AshuKumar-kw8bi
    @AshuKumar-kw8bi Před 2 měsíci

    Empty encoded password

  • @simonnilsson9943
    @simonnilsson9943 Před 5 měsíci

    I could add user but not login. Got a 403. I downloaded the project from github and just added my own database

    • @tech-soft
      @tech-soft  Před 5 měsíci +1

      First you need to add user using signup api then you can login, make sure login api should not have any preauthorization annotation

    • @tech-soft
      @tech-soft  Před 5 měsíci +1

      Also you can try to comment all authentication annotations in controller class and check all api is working properly or not, if working then you can un comments authentication related annotation and login api should not contain any annotation related to authentication

    • @maheshphatangare3366
      @maheshphatangare3366 Před 4 měsíci

      @@tech-soft run but token is not generated

  • @AshuKumar-kw8bi
    @AshuKumar-kw8bi Před 2 měsíci

    reply kyu nhi karte ho

  • @ayushjaiswal4449
    @ayushjaiswal4449 Před 7 měsíci +1

    Can we revoke the token generated this way

    • @tech-soft
      @tech-soft  Před 7 měsíci

      Yes we can do, first need to implement logout api and in logout we can store that token into a blacklist hashSet And at in tokenvalidation we can check it should not present in blackListSet

  • @roshanraj607
    @roshanraj607 Před 7 měsíci +1

    Bro signatureAlgoritm is deprecated

    • @tech-soft
      @tech-soft  Před 7 měsíci

      Can you please check spring boot and spring security versions

    • @roshanraj607
      @roshanraj607 Před 7 měsíci

      @@tech-soft what are the alternatives for signatureAlgoritm

  • @ankurdhaka01
    @ankurdhaka01 Před 6 měsíci

    The method signWith(SignatureAlgorithm, byte[]) in the type JwtBuilder is not applicable for the arguments (RenderingHints.Key, SignatureAlgorithm)
    i am getting this error

    • @tech-soft
      @tech-soft  Před 6 měsíci

      You can check your spring boot version , Spring security version and jwt version

  • @PassagetoParadise0
    @PassagetoParadise0 Před 7 měsíci

    I'm getting 403 while using getuser Api.