Lessons Learned: Fixing SSO Issues in a Multi-Node Spring Boot App

Last week, I was assigned to implement SSO (Single Sign-On) for a project called HappyClub. The backend runs on Java Spring Boot, and locally everything worked just fine — smooth SSO redirect, valid tokens, no errors. But as soon as I deployed to the staging environment (which runs 2 pods on Kubernetes), I hit two painful issues. I wasted quite a bit of time debugging because I didn’t read the Spring Security docs carefully at first 😅. ...

August 2, 2025 · 4 min · 645 words · Duong Quoc Hao