By NHI Mgmt Group Editorial TeamBased on WorkOS: “Clerk vs WorkOS: Agent Identity Meets Enterprise Authentication” (November 3, 2025)

TL;DR: AI agents can carry human identity context into workflows, but without SCIM, audit logs, and admin controls, enterprise authentication remains incomplete, according to WorkOS. The issue is not whether agents can act, but whether their actions are attributable, revocable, and governable at scale.


At a glance

What this is: WorkOS argues that agent identity is useful for attribution, but it is not enough without the enterprise authentication and governance controls that make agent actions auditable, revocable, and supportable in production.

Why it matters: IAM and IGA teams need to treat AI agents as extensions of enterprise identity lifecycle and authorization design, not as a prompt-layer feature that can be added after the fact.


Context

Agent identity becomes a governance problem when an AI system acts on behalf of a human and inherits that human's access. In this article, the primary issue is not whether an agent can carry identity context, but whether enterprise authentication foundations can support provisioning, auditability, and revocation at scale.

The article frames agent identity as dependent on existing identity infrastructure rather than separate from it. That matters for NHI, because an agent that acts through user-bound context still relies on the enterprise controls that govern lifecycle, logging, and permission scope.


Key questions

Q: How should teams govern AI agents that act inside customer accounts?

A: Treat them as delegated non-human identities, not as ordinary customer sessions. Governance should require explicit consent, narrow authorization scope, token binding, and a complete audit record tying each action back to the human principal that approved it.

Q: Why do AI agents create a higher security risk when organisations deploy them without lifecycle oversight?

A: AI agents increase risk because they can act independently across systems, data sets, and workflows while operating faster than manual review can keep up. Without lifecycle oversight, teams lose control over intended purpose, permissions, and runtime behavior. That gap expands the chance of unauthorized access, data exposure, and policy drift as agents move from development into production.

Q: What are the signs that agent identity is not enterprise-ready?

A: The clearest signs are missing SCIM, missing audit logs, and customer onboarding that still depends on support tickets for identity setup. Those gaps usually mean the platform can demo agent context, but cannot support real enterprise governance. If administrators cannot self-manage identity settings, operational scale will become the first failure point.

Q: What is the difference between agent identity and enterprise authentication?

A: Agent identity describes how the system represents the actor taking the action. Enterprise authentication is the broader control stack that proves who can act, provisions access, records actions, and revokes authority when conditions change. One helps with attribution; the other makes the environment governable.


Technical breakdown

Identity context injection is not an authentication boundary

The article describes a toolkit that can pass claims such as userId, sessionId, and orgId into an agent's prompt or tool context. That is identity context propagation, not a new identity object or an independent authentication layer. In practice, it helps the application remember who the agent represents and which tenant it belongs to, but it does not by itself establish revocation, audit integrity, or authorization policy enforcement. For enterprise use, the distinction matters because context can support attribution while still leaving governance to the surrounding platform and application design.

Practical implication: treat identity context as an input to control design, not as proof that the agent is authenticated or governable.

SCIM and lifecycle control determine whether agent access can be revoked

Enterprise identity depends on directory sync because joiner, mover, and leaver events must propagate into access decisions. When agent actions inherit permissions from a human user, delayed deprovisioning leaves the same access path alive in both the user and the agent workflow. That turns lifecycle management into a revocation problem, not just an onboarding problem. The governance issue is broader than provisioning speed: if the enterprise cannot synchronise identity state reliably, agent access can outlive the human relationship that authorised it.

Practical implication: validate that provisioning and deprovisioning are automated across identity sources before allowing agents to act on user-bound privileges.

Audit logs and admin portals are the production control plane for agent actions

Agentic workflows create an accountability requirement that traditional session logs do not solve on their own. Enterprises need logs that can tie each action back to the authorising human, the agent step that executed it, and the tenant context in which it occurred. They also need customer-facing admin controls so SSO, directory sync, and related settings can be managed without support intervention. Without those pieces, the organisation cannot reliably answer who authorised an action, what was changed, or whether a tenant boundary was respected.

Practical implication: require tamper-resistant auditability and self-service identity administration before expanding agents beyond internal prototypes.


Read and download The State of NHI & AI Agent Breach Report 2026, covering 150+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Agent identity is subordinate to enterprise identity, not a substitute for it: the article makes clear that context propagation helps attribution, but it does not replace the authentication, lifecycle, and logging controls that enterprises already rely on. AI agents become governable only when they inherit a stable identity foundation that supports revocation, accountability, and access review. The practitioner conclusion is simple: do not treat agent identity as a separate trust domain.

Agentic access collapses the value of partial governance: SCIM, audit logs, and admin controls are not nice-to-have add-ons once an agent can take actions in CRM, onboarding, or operational systems. A platform can support prompt-level context and still fail enterprise requirements if the underlying user lifecycle is manual or incomplete. The result is an identity layer that looks functional in development but cannot survive enterprise scrutiny.

Identity lifecycle is now part of agent design: the article shows that when an agent acts on behalf of a human, the revocation path must cover both the user and the derivative action path. That means joiner, mover, and leaver governance applies to agent use just as it does to human accounts and other non-human identities. The practitioner conclusion is to design agent access around lifecycle events, not around the convenience of the SDK.

Production readiness for agents is an identity architecture problem, not a feature checklist: self-service admin portals, directory sync, enterprise SSO, and fine-grained authorization form the minimum control plane for agent deployments that touch business data. Developer simplicity can accelerate experimentation, but it does not satisfy the enterprise buyer's need for provable access governance. The practitioner conclusion is to evaluate agent tooling against the full identity stack, not just the agent layer.

Agent identity becomes an enterprise governance issue only when it is anchored in revocable, auditable access: that is the named concept this article exposes. The practical test is whether the organisation can trace each agent action to an authorising identity and remove that authority without manual cleanup. The practitioner conclusion is to centre revocation and auditability before scaling any agentic workflow.

From our research library:

What this signals

Agent identity only becomes operationally useful when it sits on top of revocable enterprise access: the practical question is not whether an agent can carry user context, but whether the organisation can remove that context from production systems without manual cleanup. That shifts design pressure toward lifecycle automation, auditability, and tenant-scoped administration.

Human-paced governance breaks down when agent actions are treated as after-the-fact events: access reviews and support workflows assume identity state changes slowly enough to be observed and certified. Agentic workflows compress that window, so the control point moves earlier in the lifecycle, before the agent is allowed to act.

Lifecycle-controlled agent access is the real boundary, not the SDK integration: teams should judge agent platforms by whether they can synchronise directory events, expose self-service admin controls, and produce action-level logs. Without those controls, agent identity remains a prototype convenience rather than a production governance model.


For practitioners

  • Define the agent identity control boundary Map which agent actions inherit human identity, which need their own authorization checks, and which remain outside approved enterprise workflows.
  • Automate lifecycle events through directory sync Require provisioning and deprovisioning to flow from HR and directory sources so agent access is removed when the human relationship ends.
  • Make auditability a release gate Block production rollout until every meaningful agent action can be tied back to an authorising user, tenant, and timestamp in tamper-resistant logs.
  • Test enterprise self-service setup Verify that customers can configure SSO and directory connections through an admin portal without ticket-based intervention or hidden manual steps.

Key takeaways

  • Agent identity context helps with attribution, but enterprise authentication still has to supply the actual control plane for provisioning, revocation, and audit.
  • The main operational risk is not the presence of agents, but the persistence of their inherited access when lifecycle and logging controls are incomplete.
  • Teams should only scale agentic workflows once identity administration, SCIM, and tamper-resistant audit logging are part of the production design.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10 and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article centers on agent actions inheriting human privileges and crossing trust boundaries.
Recommendation — Map inherited agent permissions to ASI03 and restrict action scope to verified user-authorized contexts.
OWASP Non-Human Identity Top 10NHI-01 — Improper OffboardingAgent access persists if human lifecycle events do not revoke derived permissions.
NHI-05 — Overprivileged NHIThe article stresses that agents may receive broader access than their task requires.
Recommendation — Tie agent revocation to offboarding events so inherited access disappears with the user. Review agent scopes against NHI-05 and remove any permissions not required for the workflow.
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementThe article relies on credential and lifecycle management for user-bound access.
Recommendation — Apply IA-5 to govern credential issuance, rotation, and revocation for user-linked agent access.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsThe article is fundamentally about enterprise authorization and entitlement governance.
Recommendation — Use PR.AA-05 to validate that agent entitlements match approved enterprise access policies.

Key terms

  • Agent Identity: An agent identity is the set of attributes, credentials and permissions assigned to an autonomous software entity. It is treated as a non-human identity because it can authenticate, act on systems and accumulate access over time, which creates governance, audit and lifecycle obligations similar to other production identities.
  • Directory Sync: Directory sync is the operational process of moving identity changes from a source directory into downstream applications. The important distinction is that sync must preserve both data quality and governance scope, otherwise the application receives incomplete or mis-scoped lifecycle events that create access drift.
  • Audit Logs: Audit logs are time-stamped records of identity and access events. In enterprise SSO, they provide the evidence needed to review who authenticated, when provisioning changed, and whether access paths behaved as expected during compliance checks or incident investigations.
  • Enterprise Authentication Stack: The set of identity components an application uses to authenticate users, federate logins, and manage access at scale. In practice, it combines application login, directory integration, session handling, and administrative controls so the application can support enterprise requirements without ad hoc workarounds.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security 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.
NHIMG Editorial Note
Published by the NHIMG editorial team on June 7, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org