MCP's new single sign-on leaves the hard part to FDEs
The customer's identity system rules only on issuing tokens; after that, proving that revoked access has really stopped falls to you.
In brief
- The IdP applies policy and issues an ID-JAG; the client takes it to the MCP server's authorization server and exchanges it for an access token.
- The audience parameter points to the authorization server's issuer, while resource points to the MCP server.
- The IdP does not see tool calls, and short-lived tokens can exhaust the ID-JAG quota, so the FDE has to design logging and token lifetimes.
A customer pilot with 300 people and four MCP servers needs 1,200 separate connections before the agent can reach all its data, if authorization is per user and every employee has to connect every server. Anyone who misses a connection has an agent with a missing source, and the support ticket usually finds its way to you.
Enterprise-Managed Authorization (EMA), an MCP extension announced as stable on June 18, 2026, moves that decision to the IdP, the identity management system the customer’s IT team already runs. Employees sign in through SSO as usual; the IdP weighs group, role and access conditions to decide where they can go.
The clicking disappears, but the integration work remains. Whoever deploys it has to understand two token exchanges, know what the IdP stops seeing after that, and prove to IT that revoking access really works.
One letter of introduction, two checkpoints
EMA revolves around a token called an ID-JAG, short for Identity Assertion JWT Authorization Grant. It works like a letter of introduction signed by the IdP: this person, using this application, may go to that system. The letter does not open the door; it can only be exchanged for an access token.
The first checkpoint is the IdP, where the customer’s policy is applied before an ID-JAG is issued. The second is the authorization server in front of the MCP server, where the letter is checked and exchanged for an access token. Keep the two checkpoints in mind and you will know which team owns a failure before you open the logs.
Two requests to get right
Take a customer on Okta that wants an internal agent to read a task-management MCP server at mcp.tasks.example, with its own authorization server at auth.tasks.example. After the employee signs in through SSO, the client sends the ID token to the IdP’s token endpoint under RFC 8693. The domains, variables and read_id_jag function below are for illustration only.
response = requests.post(
IDP_TOKEN_URL,
auth=(IDP_CLIENT_ID, IDP_CLIENT_SECRET),
data={
"grant_type": "urn:ietf:params:oauth:grant-type:token-exchange",
"requested_token_type": "urn:ietf:params:oauth:token-type:id-jag",
"audience": "https://auth.tasks.example",
"resource": "https://mcp.tasks.example",
"subject_token": id_token,
"subject_token_type": "urn:ietf:params:oauth:token-type:id_token",
},
timeout=10,
)
response.raise_for_status()
id_jag = read_id_jag(response.json())
token = requests.post(
RESOURCE_AS_TOKEN_URL,
auth=(RESOURCE_CLIENT_ID, RESOURCE_CLIENT_SECRET),
data={
"grant_type": "urn:ietf:params:oauth:grant-type:jwt-bearer",
"assertion": id_jag,
},
timeout=10,
)
token.raise_for_status()
The easiest line to get wrong is audience. The specification requires it to be the authorization server’s issuer; the MCP server’s address goes in resource, an optional parameter. Copy the issuer from the server’s metadata rather than guessing it from the URL.
The read_id_jag function is yours to write: check the IdP’s documentation to see which response field holds the ID-JAG, and raise a clear error when it is missing. Do not send the ID-JAG straight to the MCP server.
The MCP documentation also tells clients not to redirect users to the MCP side’s authorization endpoint. If the browser still shows a consent screen, suspect that the code has fallen back to the old flow.
A valid letter still deserves suspicion
A correct signature is only the first condition. For Rovo MCP, in a version described as a private beta, Atlassian checks the signature and trusted issuer, the oauth-id-jag+jwt header type, the audience, and whether the token is still valid or too old; the client_id in the assertion must also match the client presenting it. That last condition stops client B from using a letter issued to client A.
Account matching is the server’s job too. The MCP documentation recommends the sub claim as the primary stable identifier; email, which is optional, is for matching accounts that existed before EMA was turned on.
In code, store the key as the pair of issuer and sub: if the server trusts several IdPs, two of them could issue the same sub value. On first sign-in, look up that pair; only if nothing is found should you try email, then save the link for later sign-ins.
Why not simply use email? If an employee named Lan leaves and her address is reassigned to a new hire, matching by email could put the newcomer into her old account. Before go-live, ask the customer for a list of duplicate, renamed or reused addresses, and send ambiguous cases to a human reviewer.
Shorter tokens bring the quota closer
IT usually wants short-lived access tokens so that people who leave lose access quickly. Anthropic says Claude admins can shorten the lifetime for that purpose. But Okta limits XAA (Cross App Access, its way of supporting EMA) used within SSO to 250 ID-JAGs per user, per resource app, per month; going beyond that requires a subscription to Okta for AI Agents.
Return to the customer above, with someone working 22 days a month, eight hours a day, and assume each access token renewal needs a new ID-JAG. A 60-minute token uses 8 × 22 = 176 grants, still under the cap. Cut it to 30 minutes and the figure is 352, so that person could be blocked before the month ends.
Keep 60 minutes but run two clients, each requesting its own token, and the total is again 352. Whether that breaks the cap depends on whether the quota is pooled across clients. Okta’s wording mentions only user, resource app and month, so ask Okta before you settle the design.
So do not agree to “15 minutes to be safe” on the spot in a meeting. Measure how many grants a heavy user consumes in a week, reuse unexpired access tokens between tool calls, and only then settle the figure with the security team.
The acceptance test is concrete: obtain an access token, remove the user from the group in the IdP, then record two timestamps. The first is when a request for a new ID-JAG is refused; the second is when a tool call with the old token fails. The gap between them is the residual risk the customer must accept in writing.
Question IT before promising a go-live date
On your first call with the IAM team, ask directly about ID-JAG: “Does your IdP issue ID-JAGs for this application, and under which draft?” Then: “Does the authorization server on the MCP side accept that same draft?” If all they say is “we have SSO,” you do not have an answer yet.
ID-JAG comes from a draft by the IETF’s OAuth working group, and vendors track different versions. MCP’s support table lists Okta and Ping Identity as Available for both issuing and accepting, Auth0 as Early access, and Keycloak’s accepting role as Experimental.
For Entra ID, a post on Microsoft Tech Community states that the centrally managed OAuth flow it describes is not EMA as specified, because it does not require Entra to issue an ID-JAG.
Also ask: “Can the client authenticate to the IdP?” Draft -06 steers public clients that cannot do so to the ordinary authorization code grant. The server may have to keep both flows, so the tests need to cover both.
Finally, logs. Under the specification, the IdP sees access tokens being granted but not the traffic between MCP client and server. If the customer needs to know who called which tool, log it at the client, gateway or server: user, client, tool name, time, result and trace ID. Avoid logging tokens or full sensitive content.
When the flow breaks, go checkpoint by checkpoint
| Symptom | Check first | Where to fix it |
|---|---|---|
| IdP does not issue an ID-JAG | Group, role, access conditions, quota | IdP configuration |
| ID-JAG issued, token exchange fails | audience, issuer, expiry, client_id |
Client or authorization server |
| Sign-in works, wrong data | Issuer + sub link and old email |
Server’s account table |
| Only some clients work | Public client, supported draft version | Fallback flow |
| Cannot trace who called a tool | Logging point after the token is granted | Client, gateway or server |
The three mistakes most worth avoiding all come from stopping at a successful demo: testing only one authorized person, treating the IdP log as a tool-call log, and turning on EMA before cleaning up old accounts. One smooth sign-in tells you nothing about the person who should be refused.
This week’s exercise: write a one-page acceptance test for an MCP server you know. It needs a permitted user, a blocked user, an existing account matched by email, a token exchange from the wrong client and a timed revocation. Include the monthly ID-JAG calculation.
That revocation measurement also belongs on your résumé. A line such as “built an ID-JAG flow and measured the gap between removing access in the IdP and the last tool call being blocked” says more than “MCP experience,” provided you really did it and have a repo with the test to open.
When an FDE job posting mentions OAuth, SSO or IAM, be ready to talk through that measurement.
And practice answering one question before a customer or interviewer asks it: if someone’s access is removed at 9 a.m., at what time does their agent stop?
Was this article useful?
Thanks for the feedback!
8 sources
- Enterprise-Managed Authorization: Zero-touch OAuth for MCP · 2026-06-18
- Enterprise-Managed Authorization - Model Context Protocol
- Enterprise-Managed Authorization (specification, ext-auth repository)
- How We Brought Enterprise-Managed Authorization to Rovo MCP with XAA and ID-JAG - Inside Atlassian · 2026-06-29
- Centrally manage authorization for MCP connectors · 2026-06-18
- Okta Developer guide: Cross App Access (xaa-agent-to-app)
- MCP Enterprise Authorization Is Here — What Entra and App Service Can Do Today · 2026-07-15
- draft-ietf-oauth-identity-assertion-authz-grant-06 · 2026-10-31