Challenges in front of Microservice stack and Spring Security with Token Based Auth
summary
Covers practical migration from per-service auth to centralized identity with Spring Security and Keycloak, including code snippets that convert JWT into Spring Authentication and a sample API gateway flow. Demonstrates why JWT + OAuth2 is required at scale (companies hit 2000+ microservices), recommends 30-minute access token with longer refresh token and notes key rotation and wrong-token bugs that break login flows. Shows real integrations, pain points, and fixes that work in production.
AI-written summary · about
chapters (12)
- 0:00Introduction and speaker
- 0:25Microservices and security challenges
- 3:15Evolution of microservice security
- 7:29Global authentication and gateway solutions
- 11:02JWT tokens and their role
- 14:36Access and refresh tokens explained
- 20:17Open Authorization and identity management
- 24:17Single sign-on and IAM systems
- 27:31Spring Security and JWT integration
- 36:58Common token bugs and security pitfalls
- 44:00Code snippets and Spring Security setup
- 50:27Q&A session
