Great video as always! One suggestion, keep your picture in picture smaller so it doesn't hide the IDE code. Maybe thumbnail size. Thank you again for the tutorial !
Nice Explanation ..Actually some youtubers have more subscribers i don't know why because they told the only basic what we have in books but u explain each and every point very clear and useful to realtime as well .. wel done ..impressed and subscribed
I have seen this Video several times.. This is just a Saver for me. Just wanted to have a video on JWT implementation in Microservices.. How do we manage token between the Applications.
Hello, I downloaded github JWT-Demo project as it is running same code in eclipse but I got one error "no converter found for return value of type: class and in postman showing Internal server error. Is there any solution can any one helps to me?
This a good explanation my concern is if we go the microservices way and other services apart from the auth service don't have access to the users database , is it possible and how do we go by authenticating the requests efficiently without having to hit the auth endpoint to validate the token against the user details service
Rather than sending the authorization header, do we have any other option ? Can I send header with any other name say "authToken" and keep the token in that which I can access from the same filter ?
Hi, I was going through the video and implemented the same in my system. Getting error in Filter part. Not able to generate Token in postman after applying filter.Can you help plz?
Could you update this video with the role base authentication and without the deprecated web adapter configure. Thank you in advance. Even if you can’t update the video … if you can update GitHub with role base authentication that would be super awesome.
Hi, Can you please me know the similar thing if we need to separate the server (that gives/authenticate the jwt token and client ? Because I don't to include the server coding in the multiple client API project.s
Hey once i added the JwtFilter class, it stopped returning the JWT Token.. Any ideas? I still get a 200 - OK status. I put a "test" println at the /authenticate endpoint, and it doesnt even execute.
Hello! Thanks for the amazing video. Tried to download the source code and run it as it is but im getting a 400 error in the POST request. Is there some further configuration that has to be implemented? Thank you
Hey can you create a crash application in spring boot which deals with data and have login, register and back end too. In short i need one bank app which manages my wallet transactions
I am working on an application where jwt token authentication is required and that token will be sending to end user's via email. So is there any way to invalidate token once it is forwarded to another emails ?. Kindly suggest some idea over this. Thanks
Great tutorial, just a couple of issues with this. I got slightly confused, you started by saying JWT is used for both Authentication and Authorisation, maybe we mean different things but authentication isn't possible with JWT. Around 21:50, you are calling loadUserByUsername after the authentication? Isn't this a repetition ? The authentication manager would need to call that method to check that a user exists first right? Can we not retrieve the user from the principal?
Sir if i am creting a token and all things are work properly.But again i am creting a new token for same user then how to expire old token.Plese comment sir
I have to deploy my springboot application onto openshift with Stargate jwt authentication.. how would I define the path for this trustore in openshift
Getting error please let me know how to solve this. org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
Hi sir I was asked a question by the interviewer and the question is Q) Suppose I am hitting an endpoint and I am having the token appended as header for that endpoint so every time I hit that Endpoint will the authentication check is gonna happen again and again or not and I was unable to answer this question I think the answer is that before hitting the request my filter check is gonna happen and there this check is gonna be done where we are checking that security context.getAuthenticated() object is Null or not if it is not null then the rest of the check is not going to happen because the details are saved there already but my question is like for different types of users suppose 5 users are there five users have their own token so how that check is going to happen please clear this doubt sir.
Hi I am getting 404 while trying to send the get request with generated jwt with Bearer in header .I checked everything is fine in code.Can anyone knows why it's happening ?
Follow me on Twitter: twitter.com/DailyCodeBuffer
Can you pls tell me the best way to invalidate the JWT Token while logout.
if your video has 10 hours i still love to watch it.
🙏🏻❤️
You are champion, there are of course many videos in youtube, but we can expect quality from some only . Yours are one among them
Thank you for your Kind words. Just trying to give my best, its all of you who motivates me🙏🙏
Great video as always! One suggestion, keep your picture in picture smaller so it doesn't hide the IDE code. Maybe thumbnail size. Thank you again for the tutorial !
Agree
Very nice video. I learnt basics of Filter, Authentication and JWT Token in one single video of just 36 minutes.
Thank you
Nice Explanation ..Actually some youtubers have more subscribers i don't know why because they told the only basic what we have in books but u explain each and every point very clear and useful to realtime as well .. wel done ..impressed and subscribed
That is my 5th video by that I learned how to implement JWT. Thanks, sir, and great of u.
One of the most underrated youtuber
Man this is the best Video I have seen about Spring Security, THANK YOU.
Thanks 🙏🏻
I have seen this Video several times.. This is just a Saver for me. Just wanted to have a video on JWT implementation in Microservices.. How do we manage token between the Applications.
he is doing work more than blah blah ...appreciated
Do we need to create the authenticate function if the boiler plate is not having in a question
Best tutorial on jwt !!! Thanks bro 😎
12:56 jjwt is showing vulnerability in dependencies , should we use it or not?
The best and the easiest explanation and implementation of JWT !!
im getting a 415 error in the POST request. Is there some further configuration that has to be implemented? Thank you
Super bro... I love the way you teach content to the precise point and fast pace...
Your tutorials are so fantastic. I keep watching your videos. The way you narrate and segway things are exemplary. Too good brother. keep it up!!
Thank you 🙏
I keep gettting a 403 error forbidden even after implementing the whole code as you have it
can you do a video about this with Spring 3.0 because some of things are deprecated
Hello,
I downloaded github JWT-Demo project as it is running same code in eclipse but I got one error "no converter found for return value of type: class and in postman showing Internal server error.
Is there any solution can any one helps to me?
Very good concept.. Easily understandable.. Nicely explained 👍.. Thank you.
Excellent tutorial on jwt tutorial with practicals. Thank you so much for the wonderful content.
Thanks 👍
Great video as always.
What is the theme that you’re using in intellij idea
Life savior. looking forward to Securing microservices.
Thank you. Planning one
Me too... I have searched for a video from him on this... I am waiting
This a good explanation my concern is if we go the microservices way and other services apart from the auth service don't have access to the users database , is it possible and how do we go by authenticating the requests efficiently without having to hit the auth endpoint to validate the token against the user details service
Great tutorial! Thanks for share! Helped me a lot!
If you are using ping federate as authorization server how will be the implementation.
what about the repository code and encoding and decoding part.
Loving your videos 🙏🙏
your tutorials are very nice and informative with real example. subscribed immediately. keep going and post more such videos.
Thank you!
Rather than sending the authorization header, do we have any other option ? Can I send header with any other name say "authToken" and keep the token in that which I can access from the same filter ?
Hi,
Not clear with the Filter in this video. Can you explain those code alone in detail please?
Hi, I was going through the video and implemented the same in my system. Getting error in Filter part. Not able to generate Token in postman after applying filter.Can you help plz?
Any error you are getting?
Can we join through any platform for resolving this. This will be great help from you.
Nice stuff. Can you extend this in the scenario of multiple services (microservices) and refresh token? Will be great. Thanks
Even I am also looking for same. Please explain
even i am looking for the same
Even how we Can do that in a microservice with Spring cloud gateway or zuul because api gateway it is the only endepoint for microservice
Thank you so much, you are the best to simplify complex codes
Thanks 🙏
Anything you have using Boot 3.1.5?
Very informative. You are doing a really awesome job.
How are you opening Intelij idea with the command line ? Can you tell us?
34:00:00 why we need to add jwtfilter before UsernamePasswordAuthenticationFilter ?
@Daily Code Buffer, what is the difference from this and your new video about spring security. Are you using jwt token there too?
New video contains complete spring security registration and login with oauth 2.0 and open id connect
Such an amazing video! Congratulations and thanks
Thank you
thanks. best video on jwt i saw.
Hi, I have created a Seperate Microservice for JWT and i want to authenticate a different microservice
how to do that??
Now i can explain spring security in very well .. thank you for such a informative and great video. 👍
Thanks
Please update for Spring Security 6.**
The type WebSecurityConfigurerAdapter is deprecated .. plz tell the solution
I don't understand the verify method. Why does it not seem like its verifying against the secret key at all?
Could you update this video with the role base authentication and without the deprecated web adapter configure.
Thank you in advance.
Even if you can’t update the video … if you can update GitHub with role base authentication that would be super awesome.
Can we create JWT token on the air and validate it within the same method itself and return the output. Please provide me the solution.
Hi, Can you please me know the similar thing if we need to separate the server (that gives/authenticate the jwt token and client ? Because I don't to include the server coding in the multiple client API project.s
Well explained brother 👍 You have added a new subscriber.
Really great effort from you and helping people a lot.
Thanks a ton
@Daily Code Buffer what are the prerequisites for this ?
Very good tutorial, please make one tutorial to add encoding and decoding.
Can't we pass encoded password to get JWT token. from postman we are sending plain password. Is it possible to send encrypted password ?
Thanks for this video. You've explained so well.
Bro how can we create a refresh token here. Any idea about on that?
Please how Can i implement that in a microservice Spring cloud , i need implement an authentication with jwt
Nicely explained. Keep doing good work.
Hey once i added the JwtFilter class, it stopped returning the JWT Token.. Any ideas? I still get a 200 - OK status. I put a "test" println at the /authenticate endpoint, and it doesnt even execute.
Your jwtUtility class must be using different algo.copy utility class from his github
Hello! Thanks for the amazing video. Tried to download the source code and run it as it is but im getting a 400 error in the POST request. Is there some further configuration that has to be implemented? Thank you
Fantastic tutorial! Keep up the great work!
Thanks 🙏
I followed exactly same procedure...And it created token....But when i configured filter .....Token generation is not working.....What to do ????
how to pass Athorization token every request ,then how to everytime automatically write token in the header
Hey can you create a crash application in spring boot which deals with data and have login, register and back end too. In short i need one bank app which manages my wallet transactions
straight to the point, it helps me a lot.
Thank you
Great video as always! One suggestion, keep your picture in picture smaller
Thanks 🙏🏻
I will do that, thanks for the feedback
Does this include register a new user?
No, but I have created a new video that covers complete Registration and login flow
I am working on an application where jwt token authentication is required and that token will be sending to end user's via email. So is there any way to invalidate token once it is forwarded to another emails ?. Kindly suggest some idea over this. Thanks
thank you for explanation.create example on distributed transaction in microservices
Thank you very much for all your help!
Great efforts put by you 🙏. Keep rocking with such a good quality code 👍
WebSecurityConfigurerAdapter is deprecated.... what is the solution
Please do video on session management 🙏
Cool does this token has timer?
Yes
Hi @Daily Code Buffer , I m getting bad credentials error when I entered username and password(hardcoded values), any more setup needed for this?
Thank You for the great video , you have ample knowledge , salute
🙏🙏🙏
🙏🙏🙏
Can you also explain authorisation server
Great tutorial, just a couple of issues with this. I got slightly confused, you started by saying JWT is used for both Authentication and Authorisation, maybe we mean different things but authentication isn't possible with JWT.
Around 21:50, you are calling loadUserByUsername after the authentication? Isn't this a repetition ?
The authentication manager would need to call that method to check that a user exists first right?
Can we not retrieve the user from the principal?
How do you check current user information? so that current user can access to his/her own data without touching others' data
Can you make video on refresh token
Sir if i am creting a token and all things are work properly.But again i am creting a new token for same user then how to expire old token.Plese comment sir
I have to deploy my springboot application onto openshift with Stargate jwt authentication.. how would I define the path for this trustore in openshift
Hi bro. I absorbed all applications your using yml file why can't you use property file? Can you please explain
Thank you ! Nice Tutorial and Explanations
Thanks 🙏🏻
Can please create video that how to invalid the jwt token after the logout.
Getting error please let me know how to solve this.
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'springSecurityFilterChain' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [javax.servlet.Filter]: Factory method 'springSecurityFilterChain' threw exception; nested exception is java.lang.IllegalArgumentException: [Assertion failed] - this expression must be true
Hi sir I was asked a question by the interviewer and the question is
Q) Suppose I am hitting an endpoint and I am having the token appended as header for that endpoint so every time I hit that Endpoint will the authentication check is gonna happen again and again or not and I was unable to answer this question I think the answer is that before hitting the request my filter check is gonna happen and there this check is gonna be done where we are checking that security context.getAuthenticated() object is Null or not if it is not null then the rest of the check is not going to happen because the details are saved there already but my question is like for different types of users suppose 5 users are there five users have their own token so how that check is going to happen please clear this doubt sir.
can you please make a video on jdbc and jwt ? in spring boot
So Excellent with Great "E" !
How you automatically add user name and password
from where you get all JWTutility methods. plz describe. thanks
Sir can you please tell how we can implement jwt between different modules
My guyyyyyyyy, Thanks, this is a real solid
application properties error and it does not run localhost:8080
this JWT authentication code will be same for other applications as well (with minor changes )?
Yes
Hi I am getting 404 while trying to send the get request with generated jwt with Bearer in header .I checked everything is fine in code.Can anyone knows why it's happening ?
One of the great tutorial :)
Assalamu aleikum bhai...I loved it the way you explained JWT...
Thank you 😊