Solutions / AI agents

Identity for AI Agents

AI agents need access to your APIs and to third-party APIs, sometimes for themselves and sometimes on a user’s behalf. WebFrolic gives them their own identity, scoped tokens instead of secrets, and an audit trail that names both the agent and the person behind it. Third-party MCP clients connect from a catalog you approve, MCP clients you build use Connections, and Cross App Access lets the identity provider decide which applications an MCP client can reach.

Available now in WebFrolic.

Why it matters

Most agents today run on a borrowed password or someone’s API key.

That is the shared-account problem at machine speed: broad access, no owner of record, and no way to tell the agent’s actions from the person’s. Agents need the same identity discipline as people, plus credentials they cannot leak.

Own identity

Service and machine users

Agents act as a service user that named people assume, or as a machine user with client credentials or user consent.

Tokens, not secrets

Vault and Connections

Agents receive short-lived, scoped access tokens. Client secrets and refresh tokens never leave WebFrolic.

Bounded and traceable

Permissions, networks and audit

Per-permission API-key support, network firewall rules and recorded token requests keep each agent inside its lane.

The building blocks

Everything an agent needs, already in the identity provider.

Agentic AI

Connections

Users consent once; assigned agents request a refreshed access token to act on their behalf. Connections are also the foundation for MCP clients you build on WebFrolic.

Explore ↗

Agentic AI

MCP clients (CIMD)

Approve popular MCP clients from a catalog; they identify themselves with a Client ID Metadata Document and get only the scopes you allow.

Explore ↗

Agentic AI

Cross App Access (XAA)

Let MCP clients reach other applications for a user through ID-JAG, with applications and scopes chosen by the administrator.

Explore ↗

Token security

DPoP tokens

Bind the tokens an agent holds to its own key, so a token copied from logs or memory cannot be replayed elsewhere.

Explore ↗

Authorization

Custom authorization server

Extend WebFrolic’s permission model to your own APIs, self-hosted or WebFrolic-hosted, and decide per operation which actions agents may call with an API key.

Explore ↗

Which one fits

Match the capability to what the agent needs to do.

Most deployments use several of these together. Start from the access the agent actually needs.

WhenUseWhat you get
An agent calls your own APIs as itselfService or machine user, with API keys or the custom authorization serverIts own accountable identity, with permissions chosen per operation.
An agent calls a third-party API with an application credentialOAuth2 Secrets in VaultThe agent gets a scoped, expiring access token; the client secret stays in the vault.
An agent or MCP client you build acts for a user in another applicationConnectionsThe user consents once per application. Tokens stay on the server, and WebFrolic identifies itself with its CIMD URL where the application accepts one.
A third-party MCP client, such as an AI assistant or coding tool, reaches your MCP serversMCP clients (CIMD)Only clients from your approved catalog can connect, with default scopes plus any you add.
An MCP client reaches an enterprise application that trusts your identity providerCross App Access (XAA)The identity provider issues an ID-JAG instead of asking the user for another consent, limited to the applications and scopes you assigned.
A leaked token must be useless to anyone elseDPoP tokensAccess tokens, refresh tokens or both are bound to the client’s key, chosen per application.

In the console

Set it up in four steps.

Menu names match the WebFrolic console. The setup guide has the detail.

01

Give the agent an identity

Create a service user or register an OAuth2 application (machine user) for each agent, with only the roles it needs.

02

Store third-party credentials

Put third-party client credentials in Vault → OAuth2 Secret, or configure a Connection for on-behalf access.

03

Assign scopes and limits

Assign the secret or connection to the agent’s identity with a subset of scopes, an expiry and network rules.

04

Review what it did

Check token requests and actions in the audit trail, attributed to the agent and the person behind it.

Before rollout

Questions worth answering.

Settle these first and the rollout is mostly configuration.

  • List every agent and the APIs it calls, for itself or for a user.
  • Remove client secrets and personal API keys from agent configuration.
  • Decide which actions an agent may take without a person in the loop.
  • Restrict token retrieval to the networks agents run in.
  • Decide which MCP clients to allow and which scopes they get by default.
  • Make sure you can revoke one agent without affecting others.

Evaluate with your scenario

Start with a concrete workflow.

Share the identities, resource boundary and decision you want to test. The walkthrough can focus on the relevant behavior rather than a generic feature tour.