Technology1 min read

Implement Secure Cross App Access (XAA) in Go

By · Published by Everything Blog

In short

Cross App Access relies on established Internet Engineering Task Force specifications to delegate permissions safely on behalf of signed-in users. The authorization workflow utilizes an initial OpenID Connect login, an RFC 8693 token exchange for an Identity Assertion Authorization Grant, and an RFC 7523 grant to obtain scoped destination tokens. Developers can experiment with the architecture using the AI Notes Assistant sample application to fetch to-do items from a Model Context Protocol server.

Key points

  • Organizations can eliminate manual OAuth consent prompts by managing cross-service permis…: Organizations can eliminate manual OAuth consent prompts by managing cross-service permissions through identity providers like Okta.
  • The framework replaces static API keys and shared credentials with standard scoped access…: The framework replaces static API keys and shared credentials with standard scoped access tokens issued by authorization servers.
  • Developers can register requester applications using an email address to explore live int…: Developers can register requester applications using an email address to explore live integrations on the xaa.dev playground.

Sources checked by our analysis pipeline: 1

10 min read

Implement Secure Cross App Access (XAA) in Go

Picture this: a salesperson at your company asks the company's AI assistant to book a dinner with a customer and log it against the deal in the sales pipeline app. They're already signed in to the assistant through the company's single sign-on, but the pipeline app's Model Context Protocol (MCP) server still needs proof that the assistant is acting on that salesperson's behalf, and the company's security team wants a say in what it can touch. That's where Cross App Access (XAA) comes in: the company's identity provider checks its policies and issues the assistant a signed identity assertion, which the assistant exchanges for a scoped access token the pipeline app accepts. No second sign-in and no consent screen.

In this post, we'll understand XAA, then run a small Go web app called AI Notes Assistant that uses XAA to fetch a user's to-do items from a protected MCP server and turn them into notes, no OAuth consent screen required. You'll clone the finished project, run it against the…

Technology