Skip to main content
ARCHOS 525 BLUEPRINT · /d/dgm_int-idp

Identity Provider (OIDC / OAuth 2.1) Internals (PKCE, JWKS & Refresh Rotation)

7 COMPONENTS · 6 FLOWS · UPDATED 2026-11-24
GITHUB README / PR PREVIEW CARD
[![Identity Provider (OIDC / OAuth 2.1) Internals (PKCE, JWKS & Refresh Rotation) — ArchOS Architecture](https://archos.sageideas.dev/d/dgm_int-idp/opengraph-image)](https://archos.sageideas.dev/d/dgm_int-idp)

*Interactive architecture diagram powered by [ArchOS Studio](https://archos.sageideas.dev/d/dgm_int-idp)*
NOTION / DOCS / CONFLUENCE EMBED
<iframe src="https://archos.sageideas.dev/embed/dgm_int-idp" width="100%" height="580" style="border:1px solid rgba(240,236,225,0.14);border-radius:6px;" loading="lazy" title="Identity Provider (OIDC / OAuth 2.1) Internals (PKCE, JWKS & Refresh Rotation) — Interactive in ArchOS"></iframe>
PORTABLE MERMAID SPEC (GITHUB / NOTION / RFC)
flowchart LR
  client_0["Browser / Mobile App"]
  authz_1["AuthZ & MFA Endpoint"]
  tok_2["Token Issuer"]
  sess_3[("Session & Refresh Store")]
  jwks_4[("JWKS Public Keys")]
  rs_5["API Resource Server"]
  downstream_6["Downstream & OTel"]
  client_0 -->|"1a. Login + · HTTPS"| authz_1
  authz_1 -->|"2a. Verify · OIDC"| tok_2
  tok_2 -->|"3. Rotate · SQL/Redi"| sess_3
  rs_5 -->|"2b. Cache JWKS · HTTPS"| jwks_4
  client_0 -->|"1b. Bearer JWT · HTTPS"| rs_5
  sess_3 -.->|"4. Emit / · OTLP/API"| downstream_6

COMPONENT STACK (7)

  • Browser / Mobile AppSTATELESS
    PKCE code_challenge
  • AuthZ & MFA EndpointSTATELESS
    Passkey / WebAuthn + consent
  • Token IssuerSTATELESS
    Mints 15m JWT + opaque refresh
  • Session & Refresh StoreSTATEFUL
    Detects refresh token reuse
  • JWKS Public KeysSTATEFUL
    Edge-cached RS256/EdDSA keys
  • API Resource ServerSTATELESS
    Stateless local JWT verify
  • Downstream & OTelSTATELESS
    Consumers, metrics & SLOs

REQUEST & DATA FLOW (6)

  1. Browser / Mobile App → AuthZ & MFA Endpoint (Login +)[HTTPS]
  2. AuthZ & MFA Endpoint → Token Issuer (Verify)[OIDC]
  3. Token Issuer → Session & Refresh Store (Rotate)[SQL/Redi]
  4. API Resource Server → JWKS Public Keys (Cache JWKS)[HTTPS]
  5. Browser / Mobile App → API Resource Server (Bearer JWT)[HTTPS]
  6. Session & Refresh Store → Downstream & OTel (Emit /)[OTLP/API]
Configure NGINX / Postgres / K8s →60-Sec L4–L7 Diagnostic →