Integrating Keycloak
summary
Integrated Keycloak into a legacy e‑commerce platform with 20,000 users by keeping existing user storage via federated user storage and migrating login gradually with realms and identity brokering. Authentication is split from authorization so the legacy platform remains the authorization service; apps exchange Keycloak tokens for app‑specific REST checks. Static API keys are replaced by service accounts using JWT Authorization Grant (RFC 7523). Uses Java SPIs for deep extensions, OIDC for apps, and recommends Spring Security/Nimbus for client libraries.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:07Integrating Authentication into a Large Platform
- 1:37CoLinx in 2020 vs. 2026
- 2:57Identity: Pass-Through User Storage
- 4:18SSO Users: Realms and Identity Brokering
- 5:57Splitting Authentication from Authorization
- 7:48A Typical Application Login Flow
- 9:36Service Accounts Replace Static API Keys
- 10:47Why We Picked Keycloak
- 12:01Lessons Learned
- 14:19Q&A
