Sharing a Secret Is Easy; Sharing State Is Not: Six Traps in Cross-Machine SSO
Extending a single-machine login gate into SSO across subdomains makes key distribution the easy part — state is the hard one. This records the problems from running one gate on three machines: why replay protection became per-site, how a second copy of the key produced “gate passes, application returns 401”, how an allowlist preservation rule in a deploy script silently switched login off, and why comparing generated codes manufactures phantom failures.
