OpenA2A AIM (Agent Identity Management) and Auth0
Auth0 is a cloud identity service from Okta. It signs people in to applications, and its documentation for AI agents covers signing in the users of an agent, calling APIs on a user's behalf, approval through CIBA, Auth for MCP and, in Early Access, registering an agent as an identity of its own. OpenA2A AIM (Agent Identity Management) is an open source platform for AI agent identity. It keeps a registry of agents: each agent has an Ed25519 key, a trust score and a list of capabilities checked through an SDK, and MCP servers are attested by the agents that use them.
The two cover different layers. The open source build of AIM has no built-in integration with Auth0 or any other identity provider, and it does not replace one. The hosted AIM Cloud adds Google sign-in.
Checked on against Auth0's documentation and AIM at commit 3ab8285e, opens in a new tab. Auth0 is a cloud service and its documentation carries no version, so a row names the release stage the documentation gives an agent feature, and a capability that was looked for and not found is stated as of the day of the check. To report a line that is wrong, use the contact page.
Capability by capability
Signing people in
Auth0
Documented. The users of an AI agent sign in with a username and password, passwordless methods and passkeys, social and enterprise identity providers, or single sign-on with corporate credentials. "Auth0 supports social login for both web-based and native applications."
Source: User Authentication for AI Agents, opens in a new tab, Social Identity Providers, opens in a new tab
AIM
The dashboard has local email and password sign-in. No single sign-on, OpenID Connect or SAML login is wired in the open source build: the repository contains Google, Microsoft and Okta provider code, but no login route calls it.
Agent identities
Auth0
Documented, in Early Access. Agent as Principal "introduces AI agents as first-class identities in Auth0, distinct from human users and traditional machine-to-machine (M2M) clients." An agent is created under Dashboard > Agents or with POST /api/v2/agents, and Auth0 gives it an agent_id with the agt_ prefix. An external_agent_id of the customer's own can be set at creation only; it then replaces agent_id in tokens and tenant logs. The Early Access notice on these pages asks a tenant that wants the feature to contact Auth0 Support.
Source: Agent as Principal, opens in a new tab, Register an Agent, opens in a new tab
AIM
Each agent is registered with its own Ed25519 public key. The token endpoint accepts one grant: a JWT-bearer assertion signed with that key, in exchange for a bearer token for AIM's own agent API. AIM does not implement the client credentials grant: the token endpoint refuses it.
Source: agent_service.go, opens in a new tab, oauth_token_handler.go, opens in a new tab
Credentials
Auth0
"An agent has no credentials of its own; it authenticates through one or more associated clients." A client authenticates to the token endpoint with a client secret, Private Key JWT or mTLS for OAuth. Private Key JWT "is available for customers on the Enterprise plan", and mTLS needs an Enterprise plan with the Highly Regulated Identity add-on. "Auth0 does not support the jwt_bearer grant for agent-linked clients."
Source: Agent as Principal, opens in a new tab, Application Credentials, opens in a new tab, Configure mTLS Authentication, opens in a new tab, Agent Identity in Tokens, opens in a new tab
AIM
An agent can sign each request with its Ed25519 key. On routes behind the request-signature check, the server verifies the signature over the method, path, timestamp and body, and rejects a timestamp more than 30 seconds from its own clock. The action-check request is signed over the action's fields (agent, capability, resource, context and timestamp) and verified against the agent's registered key. Agent routes also accept an API key or a bearer token in place of a signature.
OAuth flows and delegation
Auth0
Documented. With the client credentials grant, an agent-linked client receives a token whose subject is the agent. With On-Behalf-Of token exchange (RFC 8693) the user stays the subject and the agent is named in the act claim, nested for each hop: "The maximum delegation depth is 5 hops or 4 nested act levels." "Token exchange currently supports OBO only when the subject of the incoming token is a user." For third-party APIs, "Auth0 stores the provider's tokens in Token Vault" and the agent retrieves one by token exchange. For actions that need a person's approval, asynchronous authorization uses CIBA. Cross App Access, in Early Access, lets an enterprise administrator define centrally how an agent connects to another application on a user's behalf.
Source: Agent Identity in Tokens, opens in a new tab, On-Behalf-Of Token Exchange, opens in a new tab, Call Third-Party APIs on User's Behalf, opens in a new tab, Asynchronous Authorization, opens in a new tab, Cross App Access (XAA), opens in a new tab
AIM
OAuth token exchange (RFC 8693) is not implemented: the agent token endpoint accepts the JWT-bearer grant only. Delegation exists outside OAuth, in the TypeScript SDK, which creates and verifies Ed25519-signed delegation chains between keys. The AIM server does not issue or check them.
Source: oauth_token_handler.go, opens in a new tab, delegation.ts, opens in a new tab
Proof of possession
Auth0
Documented. Auth0 binds access tokens to their holder with DPoP, in the application layer, or with mTLS certificate binding, in the transport layer; mTLS sender constraining needs an Enterprise plan with the Highly Regulated Identity add-on. In a token issued to an agent-linked client, the act claim can carry cnf, the DPoP binding.
Source: Sender Constraining, opens in a new tab, Demonstrating Proof-of-Possession (DPoP), opens in a new tab, mTLS Sender Constraining, opens in a new tab, Agent Identity in Tokens, opens in a new tab
AIM
DPoP is not found in the AIM repository at this commit. Tokens from the token endpoint are plain bearer tokens. Requests authenticated by signature are signed per call, as in the row on client authentication.
Permissions
Auth0
In On-Behalf-Of token exchange, "the scopes returned for downstream API calls are based on the user's Role-Based Access Control (RBAC) policies." Auth0 FGA, relationship-based access control, is documented for RAG pipelines, so that an agent retrieves only the documents the current user may see, and for controlling access to the tools of an MCP server.
Source: On-Behalf-Of Token Exchange, opens in a new tab, Authorization for RAG, opens in a new tab, Control Access to MCP Tools with FGA, opens in a new tab
AIM
Each agent has a list of granted capabilities. The SDK, running inside the agent process, sends each wrapped action to the server, which compares the capability name with that list. In the default mode (monitoring) a capability outside the list is allowed and, under the default policy, raises an alert. The Python SDK's decorator also registers a capability on first use, and in this mode the server grants it automatically. In strict mode a capability outside the list is denied under the default policy, and the SDK blocks the call.
Source: agent_service.go, opens in a new tab, enforcement.py, opens in a new tab
Risk signals and access policy
Auth0
Adaptive MFA "assesses potential risk during every login transaction" and asks the user for more verification when its confidence score is low; it needs an Enterprise plan with the Adaptive MFA add-on. "When a request involves an agent-linked client, the Actions runtime exposes an event.agent object", so a tenant's own Action code can apply its policy when a token is issued. A risk or trust score for a single AI agent is not found in the Auth0 documentation as of 2026-10-16.
Source: Adaptive MFA, opens in a new tab, Agent Context in Actions, opens in a new tab, Agent as Principal, opens in a new tab
AIM
Each agent has a trust score calculated from nine weighted factors; a factor with no data is left out of the weighted sum. It is recalculated on events such as registration, verification by an administrator, capability changes and capability reports from the SDK. A capability violation also lowers the stored score directly. Each action check reads the stored score.
MCP servers
Auth0
Documented. Auth for MCP "lets developers securely and easily implement the authorization parts of the MCP spec with OAuth 2.1 and OpenID Connect." An MCP server protected with Auth0 requires and validates access tokens and controls which tools a client may call. An MCP client is registered by hand, from a Client ID Metadata Document, which the documentation recommends for production, or by Dynamic Client Registration: "By default, DCR is disabled for all tenants." An MCP server calls first-party APIs on a user's behalf with On-Behalf-Of token exchange, and third-party APIs through Token Vault.
Source: Auth for MCP, opens in a new tab, Authorization for Your MCP Server, opens in a new tab, Register your MCP Client Application, opens in a new tab, Dynamic Client Registration (DCR), opens in a new tab
AIM
AIM is not an OAuth authorization server for MCP. Agents submit signed attestations of the MCP servers they connect to, and the server checks each signature against the agent's registered key. A drift alert is raised when a capability detection run finds that a server's manifest has changed since the last run.
Source: mcp_attestation_service.go, opens in a new tab, mcp_manifest_service.go, opens in a new tab
Workload identity
Auth0
Not found in the Auth0 documentation as of 2026-10-16: it does not mention SPIFFE or workload identity, and the client authentication methods it lists are a client secret, Private Key JWT and mTLS for OAuth. Nearest documented capability: Custom Token Exchange, in which an Action the tenant writes decodes and validates a token passed to the token endpoint, with "Integrating with an external identity provider" among its documented uses.
Source: Application Credentials, opens in a new tab, Custom Token Exchange, opens in a new tab
AIM
Not implemented for agents at this commit: AIM accepts no SPIFFE identity, Kubernetes service account token or external OpenID Connect issuer as an agent credential.
Source: oauth_token_handler.go, opens in a new tab, pqc_agent_auth.go, opens in a new tab
Audit
Auth0
Documented. Tenant logs record actions by tenant administrators, Management API operations and user authentications, and log streams export them in near real time. With Agent as Principal, "When a token is issued for an agentic interaction, Auth0 includes both the agent_id and external_agent_id, if set, in the resulting tenant log entry", and the Management API searches the logs by agent_id.
Source: Logs, opens in a new tab, Log Streams, opens in a new tab, Agent ID in Tenant Logs, opens in a new tab
AIM
An action check that passes its signature check is written to the audit log as a row with the agent, the capability, the resource, the stored trust score and whether it was allowed. The write is best effort: if it fails, the check still returns its decision. The log is not append-only at the database layer and is not signed.
Source: verification_handler.go, opens in a new tab, audit_log_repository.go, opens in a new tab, SECURITY.md, opens in a new tab
License and hosting
Auth0
A cloud service: a multi-tenant Public Cloud, or Private Cloud, a dedicated cloud service on AWS or Azure. Agent as Principal and Cross App Access are in Early Access, of which Auth0 says: "Minor changes can be expected on the road to General Availability." The pricing page sets plans by monthly active users; the Free plan covers "Up to 25,000 monthly active users".
Source: Deployment Options, opens in a new tab, Product Release Stages, opens in a new tab, Agent as Principal, opens in a new tab, Pricing, opens in a new tab
AIM
The repository is Apache-2.0. Self-hosted with Docker Compose. Also offered as a hosted service, AIM Cloud, which is built from a private mirror of the repository with cloud-only additions.
Source: LICENSE, opens in a new tab, docs/DEPLOYMENT.md, opens in a new tab, docker-compose.quickstart.yml, opens in a new tab
Which layer each one covers
Auth0
- Signing people in to applications, including the users of an AI agent.
- Issuing OAuth tokens to agents, as themselves or on a user's behalf, with the agent named in the token.
- Holding users' tokens for third-party APIs in Token Vault.
- Authorization for MCP servers and the clients that connect to them.
AIM
- Keeping a registry of agents, each with its own key.
- Scoring each agent and recording the action checks it submits.
- Checking each action an agent submits against its granted capabilities.
- Recording which MCP servers agents attest to, and alerting when a detection run finds a server's manifest changed.
A team can run both: Auth0 for signing people in and issuing the OAuth tokens agents present to APIs and MCP servers, AIM for its registry of agents and their action checks. AIM has no integration with Auth0 at this commit. Agents authenticate to AIM with their own keys or an AIM API key, and in the open source build people sign in to the AIM dashboard with a local account.
Registering an agent with AIM
In the Python SDK, secure() registers an agent and perform_action wraps the actions to be checked. secure() needs credentials first, from aim-sdk login or an SDK downloaded from the dashboard. For a self-hosted server, AIM's README at this commit says to create the agent in the dashboard first. The capability name on the decorator is what the server compares with the agent's grants. The resource is recorded with the check and is not compared.
from aim_sdk import secure
agent = secure("my-agent")
@agent.perform_action("db:read", resource="users_table")
def get_user_data(user_id):
...