It seems the createToken method in the AuthController only checks if a user with the given username exists in the database. If the user exists, a token is generated without considering the password. Did you intentionally skip this part to shorten the video, or is this handled internally by Spring Security? This is something I just noticed while watching the video, and I haven't tested it yet.
I love your straight to the matter approach! I'm working on the backend of a ecom app. I was just thinking about letting the UserService later until to learn aboutJWT implementation. Huge thanks! Why aren't you menetizing the channel with ads? If you do, I will watch them all! Thanks!😀
hey, your this tutorial is really helpfull for me , i am trying jwt authontication for the firsttime and i did it perfectly , now i want help , i want guidance to create refreshtoken , like if my jwt token is expire than it refresh new token by passing refresh token , please reply
i created frontend Ecommerce react application and i am trying to configure jwt auth from past 2 weeks but did not find a single video on internet for it coz everything is deprecated broo...thanks for this video ill try to implement it but can u create a complete proper video where u show complete user login and also registration using current JWT AUTH if possible simple frontend for login signup...trust me there is huge number of people who are beginners and struggling to implement it..thank u so much
Good but this is not a correct way to provide the token you need to fallow some functionality you are not supposed to add manual data in database for Registration 1.create a user 2.after Registration successful 3.login with username and password 4.then give the api access.
Please Subscribe and Support me
Is there a repository to view this code?
@@marcklen yes updated in my video description please check it.
Thanks for your support
@@javacodeex thanks 4 sharing
It seems the createToken method in the AuthController only checks if a user with the given username exists in the database. If the user exists, a token is generated without considering the password.
Did you intentionally skip this part to shorten the video, or is this handled internally by Spring Security?
This is something I just noticed while watching the video, and I haven't tested it yet.
I love your straight to the matter approach!
I'm working on the backend of a ecom app.
I was just thinking about letting the UserService later until to learn aboutJWT implementation.
Huge thanks!
Why aren't you menetizing the channel with ads?
If you do, I will watch them all!
Thanks!😀
Great !
Thanks for your support.
Your videos are great. you are very best teaching in spring boot all advances topic. Can you give more instructions about RabbitMQ?
Thanks for your support
Sure definitely will do.👍
hey, your this tutorial is really helpfull for me , i am trying jwt authontication for the firsttime and i did it perfectly , now i want help , i want guidance to create refreshtoken , like if my jwt token is expire than it refresh new token by passing refresh token , please reply
👍 Definitely I will do one more video on refresh token soon.
i created frontend Ecommerce react application and i am trying to configure jwt auth from past 2 weeks but did not find a single video on internet for it coz everything is deprecated broo...thanks for this video ill try to implement it but can u create a complete proper video where u show complete user login and also registration using current JWT AUTH if possible simple frontend for login signup...trust me there is huge number of people who are beginners and struggling to implement it..thank u so much
Hi Thanks for your feedback and support.
Definitely i will do one complete video on this.
Please complete spring security 😊😊..
Yes sure definitely
Good but this is not a correct way to provide the token you need to fallow some functionality you are not supposed to add manual data in database for Registration
1.create a user
2.after Registration successful
3.login with username and password
4.then give the api access.
Yea your correct but this only token generation and validation
With all these what you mentioned will do one complete video in future