How OIDC Token Propagation Fails Across Federated AI Clusters OpenID Connect (OIDC) token propagation fails across federated AI clusters because OAuth 2.0 and OIDC were designed for short-lived web flows, not long-running cross-cluster AI workloads, according to a technical analysis. Tokens issued by one Kubernetes cluster are often rejected by another due to mismatched signing keys or unaggregated introspection endpoints, forcing teams to rely on centralized key management services like HashiCorp Vault or AWS KMS, or to configure shared JWKS URIs. The article also highlights that Kubernetes service-account tokens cannot impersonate human users unless the API server is configured with RBAC and the impersonation user exists, leading many teams to adopt API keys or scoped service-account tokens instead. How OIDC Token Propagation Fails Across Federated AI Clusters The core issue isn’t just “single sign‑on” failing—it’s that OAuth 2.0 and OpenID Connect were designed for request‑response web flows, not for long‑running, cross‑cluster AI workflows. When a notebook in federated Kubernetes cluster A needs to call a model serving endpoint in cluster B, the OIDC token issued at login typically has a short lifespan and no built‑in mechanism for transitive trust. The token either gets rejected by the downstream cluster’s auth server, or it must be manually exchanged for a new one, which introduces both latency and a surface area for human error. One concrete pain point: token introspection endpoints. Many Kubernetes‑based platforms expose a /oauth2/introspect or /oauth2/tokeninfo route, but these are rarely aggregated across federation boundaries. If cluster A issues a JWT signed with key X, cluster B’s API server may not have the public key in its trusted keyset, causing validation to fail. The fix usually involves either a centralized key management service like HashiCorp Vault or AWS KMS that all clusters can query, or configuring each cluster to trust a common JWKS URI. Both approaches add operational overhead that many teams underestimate until they’re debugging a 401 at 2 am. Another detail that catches people off guard is how Kubernetes’ own service‑account tokens interact with external identity providers. When a workload runs as a service account, it relies on the node’s projected service‑account token. If that workload needs to act as a human user—say, to write results to a governed bucket—it must impersonate that user’s OIDC claims. Kubernetes can map the impersonate field in a request, but only if the API server is configured with --authorization-mode=RBAC and the impersonation user exists in the cluster’s password file or via an aggregator layer. Miss one of those prerequisites, and the impersonation silently falls back to the service‑account’s restricted scope. A practical workaround many teams adopt is to avoid passing user tokens altogether and instead use API keys or short‑lived service‑account tokens with scoped permissions. For user‑centric workflows, though, the pattern that actually scales is Running multiple LLMs on your own hardware is a scaling nightmare 2d ago /en/news/8482/ Since the provided source content is extremely minimal "4 hours 24d ago /en/news/5819/ AI agents are escaping their sandboxes and hitting real-world 24d ago /en/news/5774/ Tokenless: Reducing AI Spend via Dynamic Model Routing 7/29/2026 /en/news/4270/ Next Why your AI-generated restaurant menu looks like a generic fever → /en/news/8793/