Implement Secure Cross App Access (XAA) in Go
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.
Related posts
- Build "Sign in with Your App" using Supabase Auth
Supabase mediumAdeptSupabase Auth can now act as an OAuth 2.1 and OpenID Connect identity provider, letting a project offer "Sign in with [Your App]" to third-party apps, MCP-based AI agents, partner integrations and enterprise SSO. It uses the authorization code flow with PKCE, issues JWT access tokens carrying a client_id claim alongside the usual user_id and role, and also provides ID tokens, a UserInfo endpoint, refresh tokens, a JWKS endpoint and discovery documents at /.well-known/oauth-authorization-server and /.well-known/openid-configuration. MCP clients can register themselves through dynamic client registration. Existing login methods, Custom Access Token Hooks and Row Level Security all apply to OAuth tokens, so RLS policies can limit each client to specific data by checking the client_id claim. Granular scopes are planned but not yet available.
- 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.
- Our approach to building the Agent Interaction SDK
Linear mediumAdept
Linear integrates AI agents into its workspace as first-class users through a new OAuth actor mode (actor=app), which creates a dedicated agent user with its own token, developer-requested scopes and admin-controlled team access. Two opt-in scopes, app:assignable and app:mentionable, let developers choose how interactive an agent is without breaking existing apps. Raw notification webhooks left developers to reconstruct context, so they were replaced by "agent sessions" that deliver structured context and track lifecycle state. A delegation model keeps a human assignee accountable while an agent acts on the issue.
- Grok Bot has a Tailscale integration—and now you can, too
Tailscale mediumAdept
Tailscale OAuth apps, now generally available, let third-party agents join a user's tailnet through a standard OAuth 2.0 flow and act on that user's behalf, unlike existing OAuth clients that create tag-owned devices under a shared service identity. Devices provisioned this way carry the user's identity, so access policies, audit logs and quotas still apply. Grok Bot already uses the flow to reach private MCP servers without exposing them publicly. A sample policy uses a custom posture attribute with defaultSrcPosture and srcPosture so the bot reaches only designated MCP servers rather than inheriting the user's full access (Premium/Enterprise), while other plans can use tag-based rules instead.