TL;DR: App identity and agent tooling are converging as WorkOS’s March 31 update adds agent-facing CLI workflows, multiple-application identity separation, AuthKit analytics, and Pipes MCP session-scoped access for third-party data connections, according to WorkOS; the practical shift is that token lifetime, session scope, and application boundaries now matter as much as traditional sign-in flows when agents touch enterprise systems.
At a glance
What this is: WorkOS’s March update extends identity control into agent workflows, application boundaries, analytics, and Pipes MCP session-scoped access for third-party connections.
Why it matters: IAM and NHI teams should note how agent tooling is moving identity decisions closer to runtime, where application-specific session policy and scoped delegation become governance controls rather than implementation details.
Context
The core governance issue is no longer just whether an AI agent can authenticate, but what it can reach, for how long, and under which application boundary. WorkOS’s update brings session-scoped access, per-application credentials, and agent-facing CLI workflows into the same control plane.
For identity teams, that matters because AI agent access behaves like NHI governance with user-facing approval points layered on top. The practical question is whether access is bounded by session, application, and approval state, or whether it quietly inherits broader privileges than the task requires.
Key questions
Q: How should teams control AI agent access to downstream tools?
A: Teams should treat agent access as a bounded runtime grant, not a generic application permission. Each tool call should be covered by explicit policy, monitored for scope drift, and revocable without depending on a human to notice the problem later. If the agent can chain actions across systems, the control boundary must exist before the chain starts.
Q: Why do session-scoped permissions matter for AI agents?
A: Session-scoped permissions limit how far an agent can move if its behaviour changes mid-task or a tool connection is overused. They reduce durable privilege, but only if the session boundary is enforced and audited. Without that, a short-lived grant can still produce broad access during the period it remains active.
Q: What breaks when multiple apps share the same identity model?
A: Policy drift becomes more likely because web, mobile, and agent-assisted flows often need different session lifetimes and callback handling. If they share one undifferentiated identity model, teams lose the ability to tune risk per application. The result is often either overpermissive sessions or broken user experience.
Q: How do identity teams decide whether CLI-based automation is safe?
A: The test is whether configuration changes made through code are still subject to the same review, logging, and rollback controls as dashboard changes. If they are not, the CLI becomes a parallel administration path with weaker oversight. Safe use depends on governance parity, not on the interface used to make the change.
How it works in practice
Session-scoped access for agent tool use
Pipes MCP exposes third-party connections as discoverable tools through MCP, but the important control change is that agent access is limited to a session rather than the full OAuth token lifetime. That shifts authorization from a persistent grant to a bounded interaction, which is closer to task-scoped delegation than classic bearer-token reuse. Users can approve initial access and subsequent changes while the agent works, so the control surface is not just authentication but ongoing scope management.
Practical implication: Treat session scope as the primary authorization boundary for agent-driven tool access.
Multiple applications as separate identity boundaries
Multiple application support gives each application its own client ID, redirect URIs, session policies, and credentials while sharing the same users and organizations. That is a governance pattern for separating trust domains inside one product surface. It reduces the chance that sign-in state, session duration, or callback configuration leaks across environments that should be isolated. For IAM teams, the key point is that identity continuity does not have to mean identical authorization treatment across apps.
Practical implication: Model each application as its own policy boundary even when the user population is shared.
CLI-driven configuration shifts control into code
The WorkOS CLI lets agents fetch resources and manage configuration without a dashboard, which moves identity operations into code paths and agent workflows. This is useful only if the configuration layer is itself governed, because a CLI can make privilege changes faster than a human reviewer can inspect them. In identity terms, the risk is not the tool itself but the operational habit of letting code-generated changes outrun approval, audit, and rollback discipline.
Practical implication: Apply change control, review, and logging to CLI-based identity operations exactly as you would to dashboard changes.
NHI Mgmt Group analysis
Agent-facing identity control is becoming a runtime governance problem, not a login problem. WorkOS’s update shows the control point moving from initial authentication to what the agent can do after sign-in. That matters because agent activity now depends on session scope, application context, and delegated tool access, which are all governance decisions rather than UI details. Practitioners should read this as a shift in where identity policy must operate.
Session-bounded delegation is the right mental model for AI agent access. Pipes MCP scopes access to a session instead of the lifetime of the OAuth token, which is a cleaner fit for agentic work than long-lived bearer grants. The important point is not just shorter access but a different trust assumption: the agent should not inherit durable reach from a one-time approval. That aligns with OWASP-NHI thinking around overprivileged, long-lived, and poorly bounded non-human access.
Multiple-application identity separation is a practical answer to policy drift across product surfaces. When each application gets its own client ID, redirect URIs, and session policy, identity teams can vary risk treatment without fragmenting the user base. That is especially relevant where web, mobile, and agent-assisted flows coexist. The practitioner takeaway is that shared users do not justify shared privilege.
Ephemeral access still leaves governance debt if approval state is not auditable. The article’s model assumes users can approve initial access and changes as the agent works, but that creates a control dependency on timely visibility into what changed and why. If the approval trail is weak, session-scoped delegation can still become opaque delegation. The field should treat auditability as part of the access boundary, not a reporting afterthought.
CLI-based identity operations widen the blast radius of configuration mistakes. Once agents can fetch resources and manage setup from code, the boundary between developer tooling and identity administration narrows. That creates speed, but it also means misconfiguration can propagate at machine speed across applications. Teams should treat code-driven identity administration as a governed production path, not a convenience layer.
From our research library:
- 24,008 unique secrets were exposed in MCP configuration files in 2025 alone, the protocol's first year of widespread adoption, according to the State of Secrets Sprawl 2026.
- Read next: AI Agent Authorisation Guide
What this signals
Session-bounded delegation is the governance pattern this update makes hard to ignore. Access that can be approved, narrowed, and re-approved while the agent works belongs in the same control conversation as NHI lifecycle governance. The practical shift is that identity teams must manage not just who can connect, but how fast access can change without losing auditability.
Application boundaries now matter as much as users and groups. When one identity system supports multiple applications with distinct credentials and session policies, teams gain a cleaner way to prevent policy bleed between channels. That is especially useful where AI-assisted workflows are entering the same estate as conventional web and mobile sessions.
For practitioners
- Define session-scoped delegation for agents Set explicit session limits for agent access to third-party data connections and require re-approval when scope changes during a task.
- Separate application policy boundaries Assign distinct client IDs, redirect URIs, session lifetimes, and credentials to each application so agent and user flows do not inherit one another's policy settings.
- Audit CLI-driven identity changes Require logging, review, and rollback for any configuration or resource changes made through the CLI, including agent-triggered updates.
- Track application-level authentication behaviour Use active user and organization activity signals to spot when an application boundary is being used outside its intended session pattern.
Key takeaways
- AI agent access is moving toward session-based delegation, which changes the governance focus from login to bounded runtime privilege.
- Multiple application support gives identity teams a cleaner way to separate policy, session length, and credential scope across different app surfaces.
- CLI-driven identity operations need the same audit, approval, and rollback discipline as dashboard changes because code paths can alter access just as quickly.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and OWASP Agentic AI Top 10 address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | Agent sessions and shared app contexts can silently expand effective privilege. |
| NHI-07 — Long-Lived Secrets | The update explicitly shifts access away from token-lifetime delegation. | |
| NHI-04 — Insecure Authentication | Multiple applications use distinct client IDs, redirect URIs, and session policies. | |
| Recommendation — Bound agent access to the minimum session and application scope needed for the task. Replace durable token assumptions with session-limited access and short-lived grants. Separate authentication settings per application to prevent trust boundary confusion. | ||
| OWASP Agentic AI Top 10 | ASI03 — Identity & Privilege Abuse | Agent tool access depends on bounded delegation and re-approval. |
| Recommendation — Constrain agent privileges so runtime actions cannot exceed the approved delegation scope. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | The article is fundamentally about how access permissions are scoped and changed. |
| Recommendation — Review entitlements per application and session so authorizations match task scope. | ||
Key terms
- Task-scoped Delegation: Task-scoped delegation means access is assigned for one defined activity and then removed when that activity ends. It is a governance model for both human admins and non-human identities because it ties authorisation to use, not to a permanent account state.
- Application boundary: An application boundary is the identity and policy separation created by distinct client IDs, redirect URIs, session lifetimes, and credentials for each app. It matters because shared users can still have different trust contexts, and governance fails when one application’s controls bleed into another.
- CLI-based identity administration: The practice of making identity and configuration changes through command-line workflows rather than only through a dashboard. It can improve speed and repeatability, but it also creates a production control path that needs logging, review, and rollback just like any other privileged administration surface.
- Pipes MCP: A deployable MCP server pattern that exposes third-party connections as discoverable tools while constraining access to a session. The governance value is that the agent’s effective authority is bound to the current work context instead of the underlying OAuth token lifetime.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 6, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org