Skip to content
IAM Insights

Briefing · Draft · source · published · Boston Identity

The July 2025 Cross App Access draft lets the IdP decide app-to-app access and treats agents as plain clients

This July 2025 revision of an individual IETF draft, from Aaron Parecki of Okta, Brian Campbell of Ping Identity and Karl McGuinness, specifies how the enterprise identity provider manages what the authors call "Cross App Access". When one app needs another's API for a signed-in user, the provider issues a signed grant under administrator policy, instead of the two apps running an OAuth flow it never sees. The AI-agent example treats the agent as an ordinary OAuth client and leaves the actor token unused.

IETF Datatracker · Aaron Parecki, Karl McGuinness, Brian Campbell · July 2, 2025 · read

share
4 findings6 sectionsStandardsAgentic identity
5,896 words.
01

What's happening

Finding4
BI-FIND-2025-0341Lead finding

The July 2025 Cross App Access draft has the enterprise IdP apply administrator policy and issue a signed grant when one app wants a user's data at another.

The July 2025 revision puts the enterprise identity provider (IdP) in charge of app-to-app access. The authors write that when one app wants a user's data at another, it runs an OAuth flow that is "not visible to the IdP used to log in to each app." Under the draft, the client trades the user's SSO ID token or SAML assertion at the IdP in an OAuth token exchange. The IdP "evaluates administrator-defined policy" and returns a signed JWT grant, the ID-JAG, addressed to the resource app's authorization server, which the client redeems there for an access token. The draft calls such access "Cross App Access". It applies only where every resource app uses the same IdP for SSO, and it assumes the resource apps' authorization servers delegate user authorization authority to the IdP. We read this as moving approval from the user at each app to the administrator at the IdP: the enterprise and agent use cases rest on an enterprise grant of scopes, and the email example reaches a calendar API "without any user interaction".

high confidencebest source: independent researchobserved Jul 2025EvidenceWhy the IdP should broker cross-app accessThe wire flowAppendix A.1-A.2
flag a problem with BI-FIND-2025-0341
BI-FIND-2025-0342

The draft's AI-agent example treats the agent as an ordinary OAuth client acting for the user, known to the grant only by its client_id.

The draft's AI-agent example treats the agent as an ordinary OAuth client acting for the user, and the grant knows it only by its client_id. In the worked example an LLM agent signs the user in, finds the tool's authorization server from a 401 response and its protected-resource metadata, trades the ID token for an ID-JAG and redeems it for a bearer token; it can try this silently first and fall back to an interactive authorization-code flow. The draft states that "actor_token and actor_token_type are not used in this specification", the fields RFC 8693 token exchange provides for identifying an acting party. It leaves tool discovery, IdP discovery and agent registration out of scope. The agent's actions, in the authors' words, are "constrained by the user’s identity, role, and permissions as defined by the enterprise".

high confidencebest source: independent researchobserved Jul 2025EvidenceAppendix A.3The wire flow
flag a problem with BI-FIND-2025-0342
BI-FIND-2025-0343

The July text makes token checks by the IdP and the resource app mandatory and leaves deployment protections to recommendations or leaves them out.

The July text makes token checks mandatory and leaves deployment protections to recommendations or leaves them out. The IdP must validate the subject token and match its audience to the authenticated client, and the resource app's authorization server must check the grant's type, audience and client_id. Revision -04 also hardened one rule from SHOULD NOT to MUST NOT: the IdP must not issue access tokens against an ID-JAG it issued itself, which the authors say "could lead to unintentional broadening of the scope of authorization." But support "SHOULD only" be offered to confidential clients, and no maximum lifetime is set; the examples use 300 seconds for the grant. The grant carries a required jti identifier, and the draft adds no rule of its own for using it: beyond the general assertion processing rules it inherits from RFC 7521, it has no text on replay, revoking an issued grant or binding the grant to a key the client holds.

high confidencebest source: independent researchobserved Jul 2025EvidenceSection 3The wire flowDocument history
flag a problem with BI-FIND-2025-0343
BI-FIND-2025-0344

The July text has not settled which clients may use the grant, requiring registered clients in its main sections but allowing unregistered ones in a use case.

The July text has not settled which clients may use the grant. The main sections have the client authenticate "with its credentials as registered with the Resource Application's authorization server" and require the grant's client_id to be recognized by that server. The email-and-calendar use case assumes a client with no pre-registered OAuth client at the IdP or the resource app, and a resource app configured to allow the grant "from unregistered clients". The agent example leaves out of scope whether the agent has credentials at all. We found no text that reconciles them.

medium confidencebest source: independent researchobserved Jul 2025EvidenceAppendix A.1-A.2Appendix A.3
flag a problem with BI-FIND-2025-0344
02

Section by section

6

showing 6 of 6

[1]

Why the IdP should broker cross-app access: purpose, roles, scope limits

Standards

When one app needs another app's API for a signed-in user, it runs its own OAuth flow, and the enterprise identity provider that signed the user in never sees it. The draft has the IdP broker that access the way it brokers SSO, as a profile of identity chaining built on token exchange (RFC 8693) and JWT grants (RFC 7523). It applies only where every app uses the same IdP for SSO, and it assumes the resource apps' authorization servers trust the IdP's scope decisions.

technical artifactfrom published text

[2]

The wire flow: token exchange for an ID-JAG, then a JWT-bearer access token request

Standards

The client sends the IdP a token exchange carrying the user's ID token or SAML assertion, the resource app's authorization server as audience, and an optional resource and scope; the actor token is not used. The IdP must validate the subject token, check its audience against the authenticated client and apply administrator policy, and it may ask for step-up. Back comes a signed JWT typed oauth-id-jag+jwt, which the client redeems at the resource app's authorization server as a JWT-bearer grant.

technical artifactfrom published text

[3]

Security considerations and IANA registrations

Standards

The security considerations are brief. Support should be limited to confidential clients, the IdP may demand step-up with an insufficient_user_authentication error modelled on RFC 9470, and the IdP must not issue access tokens against an ID-JAG it issued itself. An open TBD asks whether the grant should come back in the authorization request instead. The IANA section registers a media type, a token-type URN and a resource claim, and nothing in the draft addresses replay, revocation or key binding.

technical artifactfrom published text

[4]

Appendix A.1-A.2: enterprise SaaS-to-SaaS and email-client use cases

Standards

The first use case is an enterprise with hundreds of SaaS apps, where extending SSO trust to API calls lets the IdP decide which integrations may act for users; its preconditions include a client registered at both ends and an administrator's grant of scopes. In the second, an email client reaches a third-party calendar API without any user interaction, and its preconditions describe a client registered at neither the IdP nor the resource app.

technical artifactfrom published text

[5]

Appendix A.3: LLM agent using enterprise tools, step by step

Agentic identityStandards

An LLM agent finds the IdP, signs the user in with PKCE, learns the tool's authorization server from a 401 and its protected-resource metadata (RFC 9728), trades the ID token for an ID-JAG and redeems it for a bearer token. It is an ordinary OAuth client acting for the user, known by its client_id. How agents discover tools, find the IdP or register with the authorization server is out of scope, and no claim marks the client as an agent.

technical artifactfrom published text

[6]

Document history: what changed from -00 to -05

Standards

Revision -05 made the audience name the resource authorization server's issuer and added an optional resource parameter and a section on advertising support in IdP metadata. Revision -04 added Brian Campbell as an author and turned the rule against the IdP issuing access tokens on its own ID-JAG from SHOULD NOT into MUST NOT. The AI agent example arrived in -03; earlier revisions moved the audience to the issuer URL and aligned the scope claim with token exchange.

technical artifactfrom published text

Terms used

IETF
The body that writes the internet's protocol standards, including OAuth, JWT, and the workload-identity work known as WIMSE.
IdP
The system that authenticates users and issues the tokens other applications trust. Okta, Microsoft Entra, and PingOne are identity providers.
Cross App Access
Okta's OAuth extension that lets an app request access to another app for a user, with user, agent and resource app bound cryptographically. It uses ID-JAG, a JSON Web Token (JWT) authorization grant.
Application programming interface
Application programming interface: a defined way for software components to request operations or exchange data.
OAuth
The web's standard framework for delegated authorization — letting one application act at another on a user's (or machine's) behalf without sharing passwords.
SSO
Single sign-on: one login that grants access to many applications, with an identity provider vouching for the user to each of them instead of each keeping its own password.
ID Token
A signed JSON Web Token (JWT) that an OpenID Connect provider issues to tell an app who signed in. Required claims include the issuer, subject, audience, expiry (exp) and issued-at time.
SAML
Security Assertion Markup Language (SAML): an XML-based (Extensible Markup Language) standard for single sign-on, in which an identity provider sends signed assertions about a user to an application.

Read next

Was this briefing useful?

Share this briefing

Every finding, forecast and open question on this site has a permanent ID. If we reword one, its ID stays the same, so a citation keeps pointing to the same claim.

Follow us on LinkedInRSS feed

Working on an identity problem this research touches? Talk to Boston Identity