From 2 Scopes to Global Identity
summary
A Rails monolith using an old OAuth library is replaced with a self‑hosted OIDC system on Kubernetes (Curity license considered then declined) so the EU region launches without partner rewrites; a short prototype phase and two‑month delivery gets the mobile client running and the integrations catalog available in EU by end of 2021. Built an identity proxy, added account‑bound machine tokens and fine‑grained scopes moving from 2 scopes to 100, and now handle 3,000 authz/sec through an OPA policy layer.
AI-written summary · about
chapters (15)
- 0:00Introduction and background
- 1:26Two scopes problem identified
- 3:33PagerDuty’s mission and challenges
- 5:40Decision to self-host identity system
- 7:03Four-month implementation plan
- 8:27Identity proxy and traffic routing
- 9:31Security concerns from customers
- 11:57Need for machine-based scopes
- 13:00Rationalizing access control
- 14:49Entitlements and feature control
- 15:32Organizational and infrastructural changes
- 16:36Permissions oversight failure
- 17:59Global identity transformation results
- 18:41Agents and modern identity needs
- 20:47Conclusion and gratitude
