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
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 th-cam.com/video/5EDUnkG6drk/w-d-xo.html
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 TH-cam like this. Finally I got what I want, Thanks u sir for this incredible video ❤❤❤❤❤❤❤❤ Thank you very much again 💕
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
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
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.
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
The method signWith(SignatureAlgorithm, byte[]) in the type JwtBuilder is not applicable for the arguments (RenderingHints.Key, SignatureAlgorithm) i am getting this error
This the first video by which I have implemented the JWT authentication without any errors. Thank you.
Thank for your comment, I will try to make easy to understand everyone.
All the other tutorials on TH-cam are scam. This one works, thank you @tech-soft
This is good for beginners (its very simple ) complete demo
Thank you
Finally found a working code. Thankyou so much.
Thank you so much
thank you so much brother for making this video, this help me to remove deprecated code for filterchain method
Welcome brother!!
Very easy Explanation, Thank You
Thank you.
successfully implemented thanks
Thank you
Thanks dost
Welcome
thanks bro, i love you
Thank you
Good
Thanks
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
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
th-cam.com/video/5EDUnkG6drk/w-d-xo.html
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 TH-cam like this.
Finally I got what I want, Thanks u sir for this incredible video ❤❤❤❤❤❤❤❤
Thank you very much again 💕
Thanks, I will try to make things easy
maine class hi liya hai User to usrer ko user userDetalis se kaise impliments kar sakte hai
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
I could add user but not login. Got a 403. I downloaded the project from github and just added my own database
First you need to add user using signup api then you can login, make sure login api should not have any preauthorization annotation
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
@@tech-soft run but token is not generated
Hello great video how integrate this code with html I mean template?
Sorry for late reply, if still you need this query then I can suggest you that might be work for you.
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.
Thank you, you are correct
Ek project kijiye na using spring boot hibernate MySQL in complete one video and microservices
Thanks for your reply, I will create a microserice tutorial soon
i tried with mssqlserver and it not work
You may need to add correct dilect for mssql and correct db url in application.properties
Can we revoke the token generated this way
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
Bro signatureAlgoritm is deprecated
Can you please check spring boot and spring security versions
@@tech-soft what are the alternatives for signatureAlgoritm
The method signWith(SignatureAlgorithm, byte[]) in the type JwtBuilder is not applicable for the arguments (RenderingHints.Key, SignatureAlgorithm)
i am getting this error
You can check your spring boot version , Spring security version and jwt version
reply kyu nhi karte ho
Sorry for this time next time I will take care
I'm getting 403 while using getuser Api.
did you get the answer , I am also getting the same error
Please provide prover user role
Same did you get the answer
@@tech-soft i also add user role then also i didnot get token in login