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.
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.
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
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
Thanks for the video, it's really helpful. Just a suggestion - when you show the code/IDE, just the voice over should be enough, the picture is quite big and hinders the view.
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
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?
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 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.
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
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?
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?
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
Thank you for this very helpful tutorial , and please can you help me I don't know why when i send the get request without the authorization header it doesn't show an error it gives back a 200 success response
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 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