Easily secure and add Identity Management to your Spring(Boot) applications
summary
Live-coding shows Keycloak deployed locally, a new realm and clients created, a role user and an initial account, then a Spring Boot web app secured via the Keycloak Spring Boot adapter (redirect URI configured) so accessing /products triggers Keycloak login and returns a JWT. A separate Spring REST service runs on 8081 as a bearer-only client and validates tokens; a RestTemplate is configured to forward the token. An Angular front end uses the Keycloak JS adapter and SSO works; tokens decode correctly and calls succeed.
AI-written summary · about
chapters (5)
- 0:00Start
- 9:29create a new client
- 17:18add a logout
- 19:41add security constraints
- 20:10create a security collection
related talks
32mEasily secure and add Identity Management to your Spring Boot applications
54mIdentity Management to your Spring Boot applications
54mHow to secure your Spring Apps with Keycloak
54mHow to secure your Spring apps with Keycloak
01h 05mSecuring Spring applications with Keycloak
53mHow to Secure Your Spring Apps with Keycloak
43mIdentity crisis: bending Spring Security to your advanced use-cases
26mKeycloak Introduction and Demo
