Add Cross App Access to Your OIDC Resource Application
Cross App Access (XAA) lets an OIDC-federated resource server accept API calls from agents by redeeming an Identity Assertion Authorization Grant (ID-JAG), a short-lived JWT issued by the customer's IdP, for a locally issued access token. The resource authorization server must bind the token's iss to a registered IdP connection before verifying the signature against that connection's JWKS. It then checks typ, aud and client_id, resolves the user on iss + sub (plus tenant for multi-tenant IdPs), and treats email only as a just-in-time provisioning hint. It should issue no refresh token, so the IdP keeps revocation control, and it should advertise only the id-jag grant profile in its metadata without listing trusted issuers. A walkthrough then configures requesting and resource app integrations and an AI Agent in Okta, and tests the setup with xaa.dev.
Related posts
- Implement Secure Cross App Access (XAA) in Go
Okta Developer mediumAdept
Cross App Access (XAA) lets an app or AI agent reach another app's API on a signed-in user's behalf without a second sign-in or consent screen. The enterprise IdP issues a signed Identity Assertion Authorization Grant (ID-JAG) via RFC 8693 token exchange, and the resource's authorization server redeems it through an RFC 7523 JWT bearer grant for a scoped access token. A Go sample app walks the four steps against the xaa.dev playground: OIDC sign-in with hand-built PKCE, state and nonce kept in a short-lived cookie, the two token exchanges, then calling a ToDo MCP server with a bearer-token transport.
- Build a Secure TypeScript MCP Client with Cross App Access (XAA)
Okta Developer mediumAdept
Cross App Access (XAA) lets an enterprise IdP vouch for a signed-in user across app boundaries, replacing per-app OAuth consent screens and shared service accounts with admin-set policy. The tutorial builds a TypeScript MCP client that signs in via OIDC with PKCE and exchanges the ID token for an ID-JAG (RFC 8693). It then trades the ID-JAG for an access token via the JWT bearer grant (RFC 7523) and calls a protected MCP server, using the MCP SDK's CrossAppAccessProvider against the xaa.dev playground. Key pitfalls: keep separate client credentials for the IdP and the resource authorization server, avoid trailing slashes in audience URLs, and make sure the ID-JAG's resource claim matches the access token's aud.
- Agentic Platform: Open-Sourcing the Agentic Identity Broker
Zalando Engineering hardMasterZalando open-sourced the MIT-licensed Agentic Identity Broker, which lets AI agents act on behalf of users across third-party systems without ever receiving provider tokens. Running on Kubernetes alongside kagent and agentgateway, the broker records grants of admin-defined permission sets from users to agents, holds encrypted per-user provider sessions, and performs RFC 8693-style token exchange at the gateway so OAuth ceremonies stay out of agents and MCP servers. Effective access is the intersection of user and agent permissions, and per-tool-call authorization is layered on via OPA through agentgateway's ExtProc. Planned additions include central tool approvals, CIBA for high-risk actions, and SPIFFE to separate agent attestation from user identity and avoid per-hop STS latency.
- Giving Agents Their Own Turso Accounts with AgentID
Turso mediumAdeptAgentID is an OpenID Connect provider for AI agents: instead of a human completing a browser login, the agent approves an OIDC Authorization Code + PKCE request by signing a compact ES256 JWS (request ID plus inbox ID) with a P-256 key it holds, registered via AgentMail. Turso, as a relying party, receives a stable agent `sub` and verified AgentMail inbox email in the ID token, with the human owner's name and email served separately from the userinfo endpoint. This keeps agent, owner and application identities distinct. The inbox doubles as a live channel for account notifications. Live checks on credential revocation, inbox deletion, org suspension and transaction expiry gate every sign-in, and JWKS can be cached by kid thanks to overlapping key rotation.
- SSO-Backed kubectl Access Across Many Clusters
Teleport mediumAdept
When development, staging and production Kubernetes API servers all trust the same OIDC issuer and audience, a single cached kubectl token authenticates to every cluster, leaving RBAC as the only barrier and making a leaked token usable against production. A hands-on walkthrough with Dex and kubelogin shows how the API server authenticates (checking iss, aud and the username claim) before RBAC authorizes, how merged kubeconfig contexts end up sharing one OIDC client ID, and how 401 differs from 403. The fix is per-environment OIDC client IDs, configuring each API server's accepted audiences so production rejects development and non-production tokens at the authentication step.