In this tutorial, we build Spring Boot OAuth2 Security REST API and use ReactJS to call that API.
Technologies: Java19, Spring Boot 3, Spring OAuth2, ReactJS, Fetch API
Previous tutorials where we built CRUD API: • REST API using Spring Boot 3.0 With ...
• CRUD ReactJS: Fetch API, Component, M...
Source code Backend: https://github.com/caligula95/crud-ap...
Source code Frontend: https://github.com/caligula95/crud-re...
00:00 - Intro
00:16 - How Spring Security Works
06:40 - OAuth2 Backend
10:00 - App Registration in GitHub
14:08 - Security Customization
19:09 - Check Security Work
22:15 - Setup ReactJS Fetch Calls to Use Security
30:27 - Redirect From Spring Security to React App After Success Auth
38:31 - Custom Security Roles Configuration
58:50 - Method Security
1:05:20 - Custom Login Page