Back to Browse

Use Jwt and the Roles to Secure Your Fullstack ReactJS and Spring Boot / Spring Security

11.7K views
Feb 19, 2024
10:41

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: https://www.youtube.com/watch?v=bqFjrhRrvy8&list=PLab_if3UBk99gjjLKBhGfMBkm_vn8NPqa Github repository: https://github.com/serlesen/fullstack-jwt/tree/chapter_3 My NEW eBook: https://bit.ly/46AOCU5 Blog: https://bit.ly/47ornJL LinkedIn: https://bit.ly/41Nn61q

Download

0 formats

No download links available.

Use Jwt and the Roles to Secure Your Fullstack ReactJS and Spring Boot / Spring Security | NatokHD