Overview of Agent Auth Consumer Flows
mainServices that want agents to authenticate on behalf of users can implement one of three primary flows. All flows require publishing discovery metadata and implementing the /agent/identity registration endpoint, along with standard OAuth /oauth2/token and /oauth2/revoke endpoints.
Supported Flows
- ID-JAG identity assertion: Trusted agent providers (e.g., OpenAI, Anthropic, Cursor) assert a user's identity using an Identity Assertion JWT Authorization Grant (ID-JAG). The service verifies the assertion and returns a service-signed
identity_assertionwhich the agent exchanges for anaccess_tokenat the token endpoint. - Verified-email identity assertion: The agent provides a user email; the service generates a 6-digit
user_codeand averification_uri. The user completes the authorization by signing in to the service and entering the code. - Anonymous registration: Used when an agent has no user identity. The agent self-registers to receive a
pre-claimidentity_assertion. A human can later take ownership of this identity via a claim ceremony (code-handoff).
Key Technical Details
- Credential Issuance: All flows terminate at
/oauth2/tokenusing the RFC 7523 JWT-bearer grant type. - Claim Ceremony: The Verified-email and Anonymous flows utilize an RFC 8628 device-authorization-shaped claim ceremony.
- Benefits: Provides a real revocation surface for agent delegations and supports MCP-server agents that start without a user identity.