TL;DR
- Choose an AI agent authentication platform around your workflow. Evaluate workload identity, user-delegated access, and runtime authorization separately. Each controls a different part of an agent’s access.
- Compare the complete production requirements. Assess integration and execution fit, OAuth credential handling, auditability, deployment, and the ongoing cost of adding agents or connected services.
- Arcade provides an actions runtime for enterprise AI agents. It combines authorization, configured policy enforcement, tool execution, and governance so teams can reuse the same action infrastructure across business systems.
- Validate the intended configuration before choosing. Test a permitted read, a policy-blocked write, and independent revocation at each applicable credential layer. Confirm outcomes through execution records and the downstream system.
A scheduled agent updating a Salesforce opportunity on a user’s behalf crosses multiple trust boundaries before touching a single record. The agent’s runtime must establish which software is running and whose authority the request carries. An execution-time policy must permit the specific write before the final API call.
AI agent authentication platforms cover different parts of that path: establishing identity, managing delegated access, or governing the actions performed with it. The right choice depends on which controls your stack already provides, which business actions the agent must complete, and how much integration and operating work your team wants to own.
Seven criteria for choosing an AI agent authentication platform
Start with one workflow your team intends to put into production. Use its users, required systems, and permitted actions to evaluate every candidate against the same requirements.
| Criterion | What to establish before choosing |
|---|---|
| Authority model | Does the workflow act on behalf of a user, use a service identity, or combine both? Can unattended work continue under the appropriate authorization without an active user session? |
| Integration and execution fit | Can the platform support the exact reads, writes, permission scopes, and failure handling the workflow needs across business applications and proprietary systems? |
| Effective permissions | Where are the user’s permissions, the agent’s assigned scope, and runtime policies enforced? Can selected sensitive actions require approval before execution? |
| Credential handling | Where do provider credentials live, and who handles consent, refresh, rotation, and reconnection when access expires or changes? |
| Audit and revocation | Can operators reconstruct completed and denied actions, identify the relevant user and agent, and verify when revoked access stops working? |
| Deployment and stack fit | Can the platform work with your existing identity provider, agent framework, clients, and private systems? Where will credentials and execution reside? |
| Operating effort and cost | What will the complete workflow cost, including usage, retries, connections, and support? What code and maintenance will your team own when adding another agent or service? |
Treat required access controls and deployment constraints as pass/fail requirements. Once those pass, compare integration effort, the consent and reconnection experience, and ongoing operating cost. Establish who owns the OAuth applications and what happens to existing connections if you migrate.
Once you’ve defined these requirements, use Arcade’s comparison of AI agent authentication platforms to build a shortlist.
What is AI agent authentication?
Agent access raises three questions: which software is making this request, whose authority it carries, and whether this specific action is permitted right now. Authentication establishes identity. Delegation and action policy determine what the agent is authorized to do.
Workload identity, user delegation, and action policy
A workload identity (a SPIFFE ID, cloud workload federation, or IAM Roles Anywhere credential) proves which software is running. A user-delegated OAuth grant conveys a human’s authority to act on their behalf. Neither substitutes for the other. A background agent with a workload identity but no user grant can’t read a user’s email. A user grant without a verified workload identity can’t prove which runtime is using it.
A valid audience-bound MCP access token authorizes a request to its MCP server. Possession of a bearer token alone doesn’t establish which runtime presented it, and access to the MCP server doesn’t automatically grant access to the services behind its tools.
A third-party token vault brokers a user’s authorized credentials for external SaaS services like Gmail or Slack. Arcade, the actions runtime for enterprise AI agents, integrates this credential management with tool execution, so developers can add user-delegated actions without building provider-token handling into the agent. Auth0 Token Vault and WorkOS Pipes are other credential-management examples. A provider may support MCP authorization, downstream credential management, or both.
A successful OAuth flow doesn’t by itself prove that every tool action the agent can list is authorized. AWS AgentCore treats tool listing as a meta action, while evaluating invocation against full context including input parameters.
The controls map to different trust boundaries:
| Boundary | Control point | What it establishes or checks | What it doesn’t cover |
|---|---|---|---|
| Identity | Workload identity (SPIFFE, WIF, Roles Anywhere) | Which software is running | Whose data or authority it carries |
| Delegation | User-delegated OAuth grant | A client is authorized to act for a user within granted scopes | Whether each tool call is still permitted at runtime |
| Delegation | MCP resource-server token | A valid audience-bound token authorizes a request to this MCP server | Workload identity, business-level per-action policy, or downstream SaaS grants |
| Delegation | Third-party token vault | Brokers a user’s authorized credentials for an external service (e.g., Gmail, Slack) | Enforcement of what the agent does with that access |
| Action policy | Execution-time policy enforcement | Whether this specific action is allowed given principal, tool, resource, and input | Issuing the user’s identity or managing downstream credentials through the policy check alone |
Each boundary must pass. The first denial stops the action, even if the other boundaries would permit it. A successful login doesn’t override a downstream policy denial, and a valid OAuth scope doesn’t override a data-layer RLS rejection.
For implementation patterns across users and connected systems, see Arcade’s multi-user agent authentication and authorization guide.

AI agent authentication for interactive and background workflows
Choose authorization based on whose authority the agent needs. A user can approve access before a workflow runs, letting scheduled or event-triggered work continue under that delegation without an active user session.
User-delegated OAuth flows
Authorization code with PKCE suits interactive delegation: a user signs in and consents to an agent acting on their behalf. Consent should be tied to the user, the client, the resource, and a narrow scope. Review what the user sees at the consent screen: whether scopes are described in human-readable terms, whether the user can selectively approve, and whether the consent persists or requires re-approval. Device authorization (RFC 8628) handles constrained clients where the user approves on a separate device.
Workload identity and delegated access for background agents
For scheduled or event-triggered work, distinguish the runtime’s identity from its authority to access a resource. Workload identity establishes which software is running. A previously approved user grant can authorize unattended work on that user’s behalf. A workload credential alone doesn’t grant an end user’s Gmail, Slack, or Salesforce authority. A separate user-delegated grant is required for each protected resource the agent accesses on behalf of a human.
For runtime identity, Google Workload Identity Federation exchanges an external identity for short-lived Google credentials. Microsoft Entra federation requires exact issuer, subject, and audience match. AWS IAM Roles Anywhere exchanges trusted X.509 workload credentials for temporary IAM credentials.
For a weekly account-update job, Arcade lets users authorize the required services in advance. The team’s application or scheduler starts the job, and the agent acts under those grants without requiring the user to stay online. Missing or changed grants can still require renewed consent.
Example: reading Google Calendar with delegated access
- User delegates read access. The user completes an authorization code flow with PKCE and grants the OAuth client Google Calendar’s
https://www.googleapis.com/auth/calendar.readonlyscope. - Agent authenticates with workload identity. The agent’s runtime presents its workload credential (SPIFFE SVID, cloud WIF token, or Roles Anywhere certificate) to the execution platform. A failed workload check rejects the request before any user data is touched.
- Policy check at the tool call. The execution-time policy evaluates whether this specific calendar.read action is permitted for this agent, this user, and this resource. A denied action is logged with the agent ID, user subject, and policy decision. The agent should return the denial reason to the caller rather than silently dropping the request.
- Use the delegated token for the read. If the policy permits the call, the runtime uses the user’s Google access token to call the Calendar API. If the API denies the request, stop and inspect the returned error. Request additional consent if a required OAuth scope is missing. Surface the resource-access denial if the user lacks permission to the requested calendar. Retrying the same denied request doesn’t resolve either problem.
With Arcade, the application requests the Calendar read for the user. Arcade handles delegated authorization and tool execution while keeping provider tokens outside the agent. Workload identity and Google’s resource permissions remain separate checks.

Runtime authorization for AI agent tool calls
Enforcement controls apply identity, delegation, and action-policy restrictions along the action path. A gateway, request-policy checks, and downstream data permissions play different roles, and one platform can perform more than one.
MCP gateways, request policies, and data permissions
These controls answer three different questions:
- Which tools can the agent reach? An MCP gateway provides a common, controlled entrance to selected tools.
- Is this particular action allowed? Request policy enforcement checks the action and its details, including whether approval is required.
- Which records can the user access? The data layer enforces that — row-level security, resource permissions, whatever the downstream system uses.
These are complementary roles. A single runtime can provide the gateway and enforce request policies. Arcade does both for actions routed through it. The connected system retains its own data permissions.
Suppose an agent wants to change a customer’s discount. The gateway provides access to the approved customer-update tool. A configured request policy checks whether the proposed discount requires a manager’s approval. The database’s row permissions check whether the represented user can update that customer’s record.
For gateway access, Arcade’s MCP gateways expose Arcade, custom, and connected remote MCP tools through one endpoint, with authorization and configured runtime controls applied to calls routed through Arcade. Okta Agent Gateway also provides per-tool-call policy and downstream OAuth credential handling. Evaluate its supported downstream credentials, session model, and network connectivity against your workflow.
For request policy enforcement, Arcade checks each action against both the user’s permissions and the agent’s assigned scope. Configured Contextual Access hooks enforce additional rules before execution, like requiring approval for discounts above a defined limit. AWS AgentCore Policy provides policy engines that evaluate requests against defined policies before allowing tool access through its gateways.
At the data layer, Supabase row-level security uses JWT claims (user, role, client) to enforce access when the request reaches the database. OAuth scopes and an agent label don’t replace correct row policies.
Moltbook’s exposed client key illustrates this downstream boundary. It could reach an application database with row-level security disabled. The exposed path allowed unauthenticated reads and writes, including access to 1.5 million agent API keys. Data permissions need to be tested at the system receiving the call, independently of the agent’s or gateway’s authorization controls.
| Enforcement role | Job in the workflow | Product examples | What to verify |
|---|---|---|---|
| MCP gateway | Provide a controlled route through which agents discover and invoke tools. | Arcade MCP Gateways, Okta Agent Gateway | Which calls pass through the gateway, which downstream credential types it supports, and whether it can reach the systems you need. Downstream services retain their own authorization requirements. |
| Request policy enforcement | Decide whether a proposed action is permitted using the principal, tool, resource, and inputs. Configured controls can add an approval checkpoint. | Arcade Contextual Access, AWS AgentCore Policy | Arcade’s external policy checks and approval flows require configured hooks. AgentCore Policy evaluates MCP tools rather than all MCP prompts and resources. Verify the operations and failure behavior your workflow requires. |
| Data-layer authorization | Restrict access to records when a request reaches the underlying data system. | Supabase row-level security | Test the actual query path, including privileged roles and application paths that can bypass row policies. |
Arcade’s actions runtime: authorization and execution
For a sales agent updating a Salesforce opportunity and posting a Slack summary, Arcade applies the same governed execution path to both actions. Each runs within the intersection of the user’s existing permissions and the agent’s separately scoped permissions, with applicable configured policies enforced along the way. Arcade handles provider authorization and token refresh in the runtime, keeping provider credentials outside the agent and model context.
Teams reuse this action infrastructure across workflows, reducing the integration and operational work needed to add agents and connected systems.
Tradestack needed its assistant to handle customer email and invoicing. The team chose Arcade for its OAuth implementation and control over tool design, and put Outlook and Xero toolkits into production within a few weeks.

Human approval for high-risk actions
For writes that require human approval, the checkpoint must sit before execution. Arcade enforces that checkpoint through a configured pre-execution approval hook, for example using Cisco Duo approval. The agent can prepare the work while a person retains control over the sensitive write. Auth0’s asynchronous authorization pattern using CIBA provides another approach: the agent waits for approval and obtains a token only if authorized. Auth0 made asynchronous authorization generally available in November 2025. A production workflow still needs timeout and recovery handling around the CIBA exchange.
Explicit approval of an action and stronger authentication are separate requirements. If a policy requires both, test both. Completing an authentication challenge shouldn’t be treated as approval of a particular write unless the approval flow establishes that decision.
OAuth and MCP authorization: what to verify
Use the workflow’s required access model to decide which protocol support matters. Verify the implemented OAuth flows, MCP authorization behavior, client registration, and token exchange rather than relying on a broad compatibility label.
OAuth 2.1 and MCP client registration
As of its October 2026 revision, OAuth 2.1 remained an Internet-Draft, not a final RFC. Evaluate concrete protocol behavior and version, not a broad claim of “OAuth 2.1 support.”
MCP’s July 2026 authorization material favors Client ID Metadata Documents (CIMD) over Dynamic Client Registration (DCR), retaining DCR as an optional compatibility path. CIMD uses a client identifier that’s an HTTPS URL and metadata retrieved from that URL, while DCR allows a client to register metadata that’s self-asserted unless backed by a signed software statement.
OAuth token exchange and agent attribution
RFC 8693 token exchange provides a standardized subject/actor model: sub identifies the user, act can identify the acting agent. It distinguishes delegation from impersonation. Impersonation weakens attribution because the acting client becomes indistinguishable from the subject. Auth0’s Agent as Principal capability (Early Access) supports agent principals and multi-hop actor claims.

OAuth token lifetimes, refresh, and revocation
Distinguish the access token an MCP client presents to its MCP server from the provider token used for a downstream API call. Each has its own issuer, lifetime, and renewal rules.
For MCP clients, WorkOS Connect access tokens have a five-minute default lifetime, controlled by the environment’s AuthKit configuration. Clerk-issued OAuth access tokens last one day, while its refresh tokens have no scheduled expiration. These settings describe tokens issued by those authorization servers. They don’t determine the lifetimes of Google or Slack credentials used behind the tools.
Compare configured lifetimes and rotation behavior at each layer, not the label “short-lived.” Downstream service tokens follow that service’s rules even when a runtime manages them.
RFC 7009 defines token revocation, but revocation may not propagate immediately. Clerk’s opaque-token mode requires online verification and supports immediate revocation, while its JWT mode ties revocation to the resource’s validation path. Test the full kill-switch path, from revoking a credential to the relevant resource rejecting its use.
AI agent audit trails and access revocation
Audit evidence should link every tool invocation to the agent, downstream resource, policy decision, and result. For delegated calls, it also identifies the delegating user. Revocation must work independently at each applicable credential layer.
Audit trails for agent actions and configuration changes
When an agent takes an unexpected action, operators need to know what ran, for whom, and what changed. Arcade’s Tool Executions show which tool ran, for which user, and its outcome. Audit Logs show administrative and configuration changes, including who made them and when. Tool Executions are recorded by default in Arcade Cloud. Self-hosted operators enable recording and configure retention for their deployment.
Token events and sign-ins show how access was established. Tool executions show what ran. Auth0 includes agent_id fields for certain agent token events (Early Access). Microsoft Entra provides agent sign-in records and agent-related properties. Okta provides unified audit for its gateway. Use a request correlation ID to connect authentication, execution, and downstream-service records. Test retention, denied-call coverage, and how records reach your SIEM.
Revoking sessions, agent identities, and OAuth grants
Ending a user session, disabling an agent identity, revoking an MCP client’s authorization, and revoking a downstream provider grant or resource permission affect different parts of the access chain.
For example, revoking a WorkOS AuthKit session doesn’t revoke the user’s Connect client authorizations or their refresh tokens. Previously issued access tokens may also remain usable until expiry, depending on the resource’s validation path.
Test each applicable layer independently. Record which access should end, which credentials remain usable, and how long the relevant resource takes to reject further requests.
Separate OAuth grants for each connected service
When an agent fans out to several APIs, each resource has separate consent, audience, scope, refresh, and revocation boundaries. An agent accessing Google Calendar and Slack maintains separate OAuth grants for each. Revoking the Google grant doesn’t affect Slack access, and each provider applies its own refresh-token validity and revocation rules.
These provider grants are distinct from the access token a client uses to reach an MCP server. A single MCP gateway can expose tools for both services while their provider grants stay separate. MCP clients are also expected to keep their MCP access tokens separate for each server.
How to test an AI agent authentication platform
Run the same workflow against every finalist in the deployment and configuration you plan to use. Start with a permitted read and a write that policy must block even when credentials are valid. Then use the checks below to test credential failures, approval, recovery, and revocation. A correctly denied action passes the test.
| Check | Test | Expected outcome |
|---|---|---|
| End-to-end access | A permitted user-delegated read | The required identity, grant, and policy checks pass. The intended data is returned. The action is attributable in the available records |
| Action policy | A write denied despite valid identity and provider credentials | The write doesn’t execute, and the denial identifies the relevant control and reason |
| Identity | An invalid or disabled workload identity | The request is rejected at the identity check before the protected action executes |
| MCP authorization | An MCP access token with the wrong audience | The MCP server rejects the token. A valid downstream grant doesn’t compensate for it |
| Scope | A provider grant broader than the agent’s assigned permissions | Effective action permissions stay within the agent’s assigned scope |
| Provider credentials | An expired provider access token with a valid refresh grant | The component managing the connection renews access before continuing the affected operation |
| Reauthorization | An expired or revoked refresh grant | The affected operation pauses and the need for reauthorization is surfaced |
| Human approval | Approval is granted, denied, or times out | The selected write executes only after explicit approval and all other checks pass. Denial or timeout blocks it |
| Downstream permissions | A valid OAuth grant with no permission to the requested record or calendar | The resource denies access. Additional consent is requested only if a missing scope is the cause |
| Multiple services | A second connected service | Its consent and credentials remain separate, with independent refresh and revocation behavior |
For each test, record the platform configuration, expected outcome, observed outcome, and supporting evidence. Include the relevant agent or workload identity, represented user, provider account, scopes, audience, policy decision, and execution result. Correlate records across components where needed. For revocation tests, record the credential layer revoked and the measured delay before the intended access stops.
Candidate: [Platform, plan, deployment, and version]
Requirement and test: [What this test must establish]
Expected outcome: [Permitted, denied, renewed, or reauthorization required]
Observed outcome: [What happened]
Evidence: [Sanitized execution records, policy decisions, and downstream confirmation]
Decision and owner: [Pass, fail, or not yet verified. Responsible team]
For a denied write, capture the enforcement decision and check the downstream record or audit log to confirm that the write didn’t occur. An error response alone doesn’t establish whether an external action completed.
Arcade’s Duo demonstration provides an approval-flow reference: a sensitive CRM read pauses for approval, and denial or timeout blocks the call. Use it to reproduce the approval path, then test the write operation your own workflow needs.
Test revocation independently. Revoke the user session, agent identity, refresh authorization, and downstream resource access separately where those layers apply. State the intended effect before each test, then record what stops working, what remains usable, and when the relevant service rejects access. Ending a session shouldn’t be assumed to revoke provider grants, and revoking a refresh token shouldn’t be assumed to invalidate every existing access token immediately.
Separate credential recovery from safe retries. Before repeating a write after an authentication failure or interrupted response, determine whether the earlier attempt completed or use the service’s supported idempotency mechanism. Successful token renewal doesn’t establish that the earlier write failed.
Measure the recurring work. Add another agent or connected service and record the changes required for authorization, credentials, policy, execution, and investigation. Assess how much of the existing setup is reused and how much custom work each addition creates.
For each control point, confirm release status (GA, preview, or Early Access), documented SLA, support channel, and recording and retention settings before committing to production use.
For agents using static API keys, run a migration test where the protected service supports an alternative: replace one key-authenticated path with workload identity or a user-delegated grant, then verify that the full access chain holds.
Conclusion: Choose the platform around the complete workflow
Choose based on the controls your workflow requires and the infrastructure your team wants to operate. A credential-management component can fit a team with established execution and policy infrastructure. A shared actions runtime can consolidate those responsibilities as agents and connected systems grow. Arcade combines authorization, configured policy enforcement, execution, and governance in that shared foundation.
Run one representative workflow through each finalist. Verify a permitted read, a blocked write, and revocation, then compare the ongoing work of building and operating the runtime alongside commercial cost. Advance the candidates that meet the required controls and leave clear ownership for the remaining work.
Frequently asked questions about AI agent authentication
Is MCP authentication the same as per-action authorization?
No. MCP defines a resource-server authorization flow and token audience controls. A valid token lets a client access the MCP server when the server validates it. Permission to discover a tool doesn’t establish that every invocation is allowed. With Arcade’s Contextual Access, teams can make a tool available for discovery and still deny a particular call based on configured pre-execution policy.
What happens when an agent’s token expires mid-task?
First identify which token expired. For an MCP access token, use the refresh flow provided by the MCP server’s authorization server. For a downstream service token, renewal belongs to the component managing that provider connection. Refresh only while the applicable refresh grant remains valid. If it has expired or been revoked, pause the affected operation and request reauthorization.
Handle retry safety separately. Before repeating an interrupted write, determine whether it completed and use the service’s supported idempotency mechanism where available. Refresh before expiry where supported, and persist rotated refresh tokens atomically.
How do I revoke an AI agent’s access?
Revoke each applicable credential layer independently: the user’s session, the agent’s identity, the MCP client’s authorization, and the downstream provider grant or resource access. OAuth token revocation (RFC 7009) may not propagate immediately, so test the actual delay at the relevant resource. Revoking a WorkOS AuthKit session doesn’t revoke Connect client authorizations or their refresh tokens.
What is the difference between a token vault and an MCP authorization server?
A token vault manages a user’s credentials for external services like Gmail or Slack. An MCP authorization server lets clients obtain tokens to access an MCP server. That access doesn’t automatically authorize the services behind its tools. Arcade combines provider credential management with MCP gateways and tool execution, so teams can connect clients to business actions without rebuilding OAuth and token-refresh logic for each connected service. Each service still controls its own grants and revocation requirements.
What is the difference between workload identity and a user-delegated grant?
A workload identity proves which software is running, while a user-delegated OAuth grant conveys a human’s authority to act on their behalf. Neither substitutes for the other. A background agent can’t access a user’s data without a user grant, and a user grant can’t prove which runtime is using it without a verified workload identity.
Can my existing identity provider handle AI agent authentication?
Yes, when its configured capabilities cover the workflow’s requirements. Verify downstream user authorization, credential handling, tool-call policy, revocation, and runtime audit evidence alongside sign-in and token issuance. If your stack already provides these controls, a configuration change may be enough. When teams need shared infrastructure for governed actions across business systems, Arcade works alongside the identity provider to manage delegated credentials, enforce configured policies, execute tools, and support investigation of runtime activity.