Hi, really nice, clear and simple tutorial series. That´s what I needed for return Java coding after 5 years break, after a 13 y old working with this language. Thank you.
Smooth explanation bro, after using custom-login page, /logout is not working bro? I need to manually clear the Principal(token) data by creating another API Getmapping("/logout") for that or any thing else to do?
Thanks. The "/logout" endpoint is not working because of CSRF protection. Try disabling/customizing CSRF by adding the following line to the "securityFilterChain" bean. .... .oauth2Login(........) .csrf(AbstractHttpConfigurer::disable) .build(); This should make the default logout work.
Can you please make a video to make our own oauth2 based login server by enhancing your last security video on JWT based authentication and authorization!
If anyone want to get the highly intelligent AI model , Feed this video💯
Hi, really nice, clear and simple tutorial series. That´s what I needed for return Java coding after 5 years break, after a 13 y old working with this language. Thank you.
A crisp and clear video. Thank you for explaining things in such a simple manner.
Great content buddy thank you so very much
You are great! I appreciate your video. What a valuable video!
Thank Man, It was nice video
best video, please explain every option and what's the use cases
Clear and simple more please
MasaAllah
thank you !👏👏
Nice tutorial❤, Could you please create a full stack application using React + Spring Boot + Spring Security + JWT + MFA etc...
Can you provide this with fromtend integration like angular or react instead of just from springboot?
Thanks for the tutorial though!
Smooth explanation bro, after using custom-login page, /logout is not working bro? I need to manually clear the Principal(token) data by creating another API Getmapping("/logout") for that or any thing else to do?
Thanks.
The "/logout" endpoint is not working because of CSRF protection. Try disabling/customizing CSRF by adding the following line to the "securityFilterChain" bean.
....
.oauth2Login(........)
.csrf(AbstractHttpConfigurer::disable)
.build();
This should make the default logout work.
Disabling CSRF on production apps is not recommended. Read the topics on CSRF to better understand it.
@@GenuineCoder thank you brother
Nice tutorial. Have you tried to introduce custom roles, I.e. ROLE_USER to protect url? Have you tried to add swagger?
Can you please make a video to make our own oauth2 based login server by enhancing your last security video on JWT based authentication and authorization!
Please make a video on how to use Oauth2 in spring boot with microservices .
How can we test with Postman?
please teach junit5 testing in springboot as It is most required for a developer
@@balasubramanian918 That's a good suggestion. I will prepare one in the future.
if user use google for example to log in i want him to have the "ROLE_User" how??
Watch Spring Security Complete Tutorial here: th-cam.com/video/9J-b6OlPy24/w-d-xo.html
[invalid_id_token] An error occurred while attempting to decode the Jwt: The ID Token contains invalid claims: {iat=2024-11-11T12:37:32Z}