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!
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ジャ 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
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
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.
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
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.💌
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❤❤
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?
Hello Durgesh bhai ..please make video series on Kafka AWS docker kubernates .. you can include this on your previous Microservice series video … please 🙏
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.
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"
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
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.....
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
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.
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
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...
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
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
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
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?
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
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?
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.
jo mushkil part tha vaha "Baat samajh mai aayi" bolke chala gaya, shi hai !
right brother ji samajhna tha vo to btaya nii😐
sirf copy paste aur import kar raha hai
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.
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!
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 ?
Some of the methods in "JwtHelper" like "signwith()" are deprecated how you handle that. Pls reply.
@@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
@@Truysジャdid you able to handle it i am facing the same issue
Thanks
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
Share your experience plz
Yes I want also Kafka please
have you implemented the JWT auth completely, can we connect i have a query
@@7-ShashwatPPariharcan we connect for peer learning
Very true and genuine Teacher. Your videos are valuable to us Sir.
Love From Pune, Maharashtra
I was eagerly waiting for this video.......Thanks a lot Durgesh bhaiya😊
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?
your method of teaching is very unique....
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.
Very true
Explained well thank you so Much durgesh Sir....🙏🙏🙏
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
yes ye video chahiye
please make a video on this
@Durgesh
Yes..please make video on role based authentication with jwt token ..
Yes yes we need a Vedio asap
Yes we need this...
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.💌
JWT authentication done with the help of this lecture good explanation i am from hyderabad
Too good sir value for time .
Love from Bhubaneswar Odisha
Superb. Really very helpful. Learned and executed as well. Please make tutorials on Kafka and aws as well.😀. Thank you very much.
thank you sir 💗, you are making India learn technology
Thanks sir etna acha padhane k liya!!❤❤
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❤❤
Hello Sir, Appki tutorial bahut achcha ha, sir aise hi continue karte rahiye
thanks for the extremly detailed video. also need the video to store user in db and get from db.
I feel You should not just copy and paste the code , but explain how you ended up writing that
very happy to see such kind of videos: i am from muzaffarpur(bihar)
we can use the record for users instead of lombok.
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?
Please make a video on OAuth 2.0 with Springboot (Google login)
Best explanation, very grateful to you
please change ding sound 1:14:38 in future videos. its very loud while using earphones.
Hello Durgesh bhai ..please make video series on Kafka AWS docker kubernates .. you can include this on your previous Microservice series video … please 🙏
Very Helpful topic sir, Thanks a lot
Behatareen tarika 👍👌
by waching this I have successfully migrated the Blog-App-Backend project from springboot 2.7.0 to 3.1.0
Can you provide the code structure or github link please
On creating the new token for the same user, the old token is not getting expired, how to resolve that?
vinay from prayagraj up. this video is very very useful.
very nice explanation sir. your way of explanation great! Thank you
So helpful, thank you so much durgesh.
loved the video. Such a good explanation and easy to undertsand.
great video bhaiya...👌...it was helped alot
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.
Please make a video on OAuth 2.0 Google login with Springboot
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.
I think you are reading my mind..what I searched in your channel and wait for new video you will doing that ... Wow
Best explanation, I have seen so far
Great Video. would be more helpful if you code & explain purpose of specific method instead of copying from notes
Jwt is not working after following these steps showing "Invalid Header Value !! " in console.
Bhai jo object bhej raha he use check karle email or password hi bhej raha he na
Eagerly Waiting for this video🤩
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"
Best video for Jwt Authentiocation
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
In the JwtResponse class you created add @Builder just like getter and setter
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.
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.....
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
does this tutorial contain role based authentication
What is the other alternative for @Builder(lombok). Lombok is not working for me. Please help!!!
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.
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
Could you please provide any example for Rest API with use all three JWT ,JWS ,JWK
pls make a video of oauth2.0 with spring MVC. Great job what ever you doing currently.
Thanks Durgesh - Rahul from Pune
Sir from where we need to do copy for jwt whatever you are doing ?? ye v bta do ?
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...
if any one could explain what is the use of jwtrequest and jwtresponse
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
yes sir please make a video with authentication of blog series with database spring 3.1.0
Hello dear please help me I am getting error in Authcontrol.. error r like this ...Cannot resolve method 'builder' in 'jwtResponse'
install lombok properly
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
yrr ye bnda kitna awesome h yrr😂😂😂
Excellent tutorial.
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..
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
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?
how should i use authentication manager builder in springboot 3?
How to do Authentication in db configure ? You show only inmemmory confiq. please share a video with db also.
Hello Sir Please Do video Of Spring Security With OAuth2
After Making Login APi public and accessing them why it is still asking for tokem in the api call..?
Please can u make vedio of jwt security, and springboot backend project
I really loved your tutorial. I would say it is the best on this topic.
hey did you change the deprecated methods in the jwtHelper class
After using spring security dependency still I’m able to acess api data without any pass or authentication???
I am gonna do and learn step by step. Will post here if I get stuck somewhere
I am getting access denied. Debugging is also not helping me.
@@sudhanshumishra2618 did u get the full source code ?
So helpful, thank you so much!
hi sir,please make video on consume external api with differ type of authication using restTemplate.
Sir , in In memory configuration. Where you have specified the role we can use as normal user in place of admin
@durgesh can we use records instead of Lombok
Hi durgesh can you make video on saml authentication without using okta means custom saml authentication
Thanks Durgesh Sir
please share me the code url. i have implement as you have implent but i am gatting unothorized for request of auth/login
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
which theme u r using in this video ?
Thank you very much for this video. Can we get the source codes?
Hi Durgesh we want a login module with jwt authentication with security of 3.1 please please do that for us
very well explained sir Nikhil Lucknow
java.lang.NullPointerException: Cannot invoke "String.startsWith(String)" because "requestToken" is null can anyone help me in this
How we can authenticate Kerberos based jwt using spring boot 3 ?
It would also be very helpful if you provided reference from where you learned.
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?
Even afetr adding spring security,I am not getting login form
I got an error "Cannot resolve method parseClaimsJws in JwtParserBuilder", anyone plz help
Jwt.ParserBuilder() method is depricated just use Jwt.Parser() method
Jwts.parser().setSigningKey(secret).build().parseSignedClaims(token).getPayload()
this would work
Great Tutorial
23:51 the moment i liked the video.
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.