Product · Extend
Agent & MCP Identity
An identity for the software acting on your customers’ behalf
AI agents now act in your product on someone else’s authority. RealmSSO gives each agent an identity of its own in your customer’s realm, the separate sign-in space RealmSSO keeps for that account. Live now: a client for each agent, with a secret or with none, four attribution claims you can log and audit, the customer’s own provider vouching for an agent, a kill switch for each agent client, an MCP discovery template and a dashboard page.
Your agent
client secret, or a platform-issued token (no secret stored)
Customer's realm
an identity per agent · four attribution claims · revoke · audit
Your app / MCP server
can log who acted · discovery template from the config route
Start here
Five steps you can take today.
- Turn on agent access. Agent access is the account-wide switch. It is off by default. While it is off, no agent client can be registered. Turning it off disables every existing agent client in the sign-in service, so none can get a new token. Tokens already minted stay valid until they expire.
- Register one agent client. Register one agent client in that customer’s realm, from the API or the dashboard. A client with a secret gets the secret once, and RealmSSO’s database does not keep it. Or there is no stored secret: the agent presents a token its platform issued. The issuer must be public and use https.
- Read the four attribution claims. An agent client’s access tokens carry four attribution claims:
agent,agent_source,agent_ownerandagent_parent. They say who acted, never what the agent may do. Your server must still check each token and decide the call. - Let the identity provider vouch for an agent, if you need that. An agent principal can sign in through the assertion grant. The assertion grant works on OIDC connections only, and stays off until the account’s agent access and the connection’s assertion grant are both on.
- Copy the MCP discovery template. The configuration route returns the customer’s realm as an authorization server and an RFC 9728 template for your own MCP server to fill in.
The short path is the agent use case. The reference is the Agent Identity API.
Agent identities, assigned to accounts
Each agent gets an identity of its own inside one customer’s realm, so you can tell it from a person, audit it and, for an agent client, stop it.
An identity for each agent, in your customer’s realm
RealmSSO creates a confidential, client-credentials-only client for each named agent in your customer’s own realm. A realm is the separate sign-in space RealmSSO keeps for each account. An agent client cannot use a browser, carries no roles in its tokens, and cannot get a refresh token: offline_access is refused. A client with a secret gets the secret once, in the registration response. RealmSSO’s database does not keep it. Registration is RealmSSO’s own API. API and dashboard.
Or no secret at all, where the agent’s platform can vouch for it
Instead of a secret, the agent presents a JWT that its platform minted. Then no secret exists: not in the response, not in our database and not in the sign-in service. The issuer must be public and use https, and RealmSSO refuses a private or in-cluster issuer. API and dashboard.
Your audit trail can tell an agent from a person
An agent client’s tokens carry four attribution claims: agent, agent_source, agent_owner and agent_parent. For an agent principal, only tokens issued by the account’s own client carry them. A human’s token carries none of them. They ride in the access token and the userinfo response, and are kept out of the ID token, which is the artifact most likely to be logged. They say who acted, never what the agent may do. When an agent client authenticates, or fails to, the audit log records the agent client itself as the actor.
The customer’s own provider can vouch for an agent
An agent can sign in to a customer’s realm with a JWT their identity provider signed, through the RFC 7523 assertion grant. An integration test on the real sign-in service shows that a valid assertion mints a token, and that a foreign issuer and a disabled user are refused. The assertion grant works on OIDC connections only, and stays off until two switches are on: the account’s agent access and the connection’s assertion grant. A save that keeps the connection’s issuer keeps every user’s link. The account switch also covers agent clients. While it is off, no agent client can be registered. Turning it off disables every existing agent client in the sign-in service, so none can get a new token. Turning it back on re-enables those clients, but not one that was revoked. Tokens already minted stay valid until they expire.
A kill switch for each agent client
Revoking an agent client disables it in the sign-in service, so it can get no new token — its next token request returns 401. Tokens it already holds run to their expiry: an application that checks only the signature accepts them until they expire. To stop an agent principal on the RFC 7523 path, turn off its connection’s assertion grant, which stops every principal on that connection, or disable the user.
A dashboard page for all of it
The Agent Identity page in the dashboard lists, registers, shows and revokes agent clients — the secret is shown once. It turns the account’s agent access on and off. Off refuses new agent clients and disables the existing ones, and the page marks each client the switch disabled. It also lists any connection that a partial switch-off left with its assertion grant on. Per connection, it turns the assertion grant on and off, and marks and un-marks agent principals, with their history from the audit log. It can also register a secretless agent client, which has no secret to show.
MCP-ready discovery
Stand an MCP server in front of a customer’s realm: /config returns that realm as the authorization server, and an RFC 9728 protected-resource document with only your own URL left to fill in. You publish it on your server. Your server must still check each token and decide each call. API and dashboard: the account’s SSO configuration card shows it, with a copy button.
Talk to the people who build it.
We run RealmSSO for you. Tell us which identity providers your customers use and how many customers you have, and we will tell you what fits today.