System Design

Single Sign-On Architecture with OAuth 2.0 & OIDC

System Design diagram · made in Skemio

SSO authentication flow diagram showing User, Browser, Client Application Server, and Identity Provider interacting via redirects, auth codes, and JWT tokens.
SSO authentication flow diagram showing User, Browser, Client Application Server, and Identity Provider interacting via redirects, auth codes, and JWT tokens.

What it shows

  • Authorization code exchange prevents tokens from leaking into browser logs
  • OpenID Connect adds ID tokens on top of OAuth 2.0 authorization grants
  • Public keys verify cryptographically signed JWTs without round-trips

The takeaway

SSO decouples identity verification from access control using signed, short-lived tokens.

More system design diagrams