This course shows you how to add OAuth 2.0 security to Spring Boot apps. You start with the basics and build real flows step by step. You do not need past OAuth experience. You only need to know Java and have some Spring Boot practice.
What You Will Learn
You follow each task in small steps. You set up tools, run servers, and test real OAuth flows.
OAuth 2.0 Flows
Run the Authorization Code flow.
Use the PKCE version of the Authorization Code flow.
Use the Client Credentials flow.
Use the Resource Owner Password flow.
Keycloak Setup
Start and set up a Keycloak server.
Create realms, clients, and users.
Spring Security Integration
Configure an OAuth 2.0 Resource Server.
Run several Resource Servers on random ports.
Spring Cloud Services
Set up Spring Cloud API Gateway.
Use Eureka for registry and service discovery.
Building Client Apps
Build a Spring MVC app that calls a protected Resource Server behind the API Gateway.
Create a small JavaScript app that uses PKCE to get JWT access tokens.
Refresh expired JWT access tokens.
Access Control
Apply scope‑based access rules.
Apply role‑based access rules.
Social Login and Extensions
Use social login with Facebook, Google, and Okta.
Use Keycloak User Storage SPI for remote user authentication.
Udemy is a global online marketplace for teaching and learning. It connects students with instructors who share skills in many fields.
Who Uses Udemy
Millions of learners use Udemy to gain skills for work and personal growth. Companies, governments, and nonprofits also use Udemy to train their teams.
What Udemy Offers
Udemy provides a curated set of business and technical courses. These courses help teams build practical skills and support ongoing learning at work.
Watch Online 175 lessons
This is a demo lesson (10:00 remaining)
You can watch up to 10 minutes for free. Subscribe to unlock all 175 lessons in this course and access 10,000+ hours of premium content across all courses.