In this video, I show how to configure a Spring Boot / Spring Security backend with JWT and the roles. I also show how to store the roles information in the JWT to allow the ReactJS frontend to render a different page depending on the roles. I explain how to use the PreAuthorize annotation in the controllers with the available SPeL expressions.
This video belongs to a playlist where I develop fullstack applications using a frontend and a backend in Spring Boot: • How to Easily Secure Your Fullstack R...
Github repository: https://github.com/serlesen/fullstack...
My NEW eBook: https://sergiolema.dev/git-book/
Blog: https://bit.ly/47ornJL
LinkedIn: https://bit.ly/41Nn61q
Facebook: https://bit.ly/47rc9nh
Track the performance of your APIs: https://bit.ly/4d7C0ny
Trainings: https://sergiolema.dev/trainings
Смотрите видео Use Jwt and the Roles to Secure Your Fullstack ReactJS and Spring Boot / Spring Security онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь The Dev World - by Sergio Lema 18 Февраль 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 10,322 раз и оно понравилось 246 людям.