AI agents
On the Paid plan, AI agents (such as MCP clients) and other software can register themselves with your project, so you don’t have to add each one by hand. There are two standard ways to do this.
With dynamic client registration (RFC 7591), the software sends its details to <issuer>/oauth2/register and receives a client ID. You can open registration to anyone, or require an initial access token that you create in the portal.
With client ID metadata documents, the software’s client ID is itself an https URL where it publishes its details. authN fetches the document the first time it sees the client ID, and checks it again at most once an hour. You can limit which hosts are accepted.
What registered software can do
Section titled “What registered software can do”Software that registers itself is treated as a third party. Before it gets anything, the person always sees a consent screen that names it, shows its address and lists what it’s asking for. It can only reach the APIs you’ve opened to self-registered software, with the scopes you chose, and the access tokens it receives for your project are opaque, so it can’t read them. It can register to receive DPoP-bound tokens.
Software registered with a first-party initial access token is different. You should only give these tokens to systems you control, and software registered with one is treated like an application you added in the portal. People aren’t shown a consent screen, and the software’s own logo, privacy policy and terms appear on its sign-in pages.
People can see the agents they’ve allowed on their account page and remove them. You can see every registered agent under AI agents in the portal, and remove any of them.
Secrets and keys
Section titled “Secrets and keys”authN never issues secrets to registered software. By default it’s a public client that uses PKCE. Software that registers its own public keys can do more:
- It can register its keys directly as
jwks, or give ajwks_uriwhere it publishes them so it can change them later. - With
token_endpoint_auth_method: private_key_jwt, it proves who it is with a short signed assertion instead of a secret (RFC 7523), and is treated as a confidential client. - With
request_uris, it can send its sign-in requests as signed request objects hosted at those addresses (see OpenID Connect). - With
userinfo_signed_response_algset toRS256orES256, it receives userinfo as a signed JWT.
Keys must be public, and either RSA of at least 2048 bits or EC P-256. Signatures must use RS256, PS256 or ES256.
Discovery
Section titled “Discovery”Your project publishes its endpoints at /.well-known/openid-configuration, and also at /.well-known/oauth-authorization-server, which is where MCP clients look. When registration is turned on, both include a registration_endpoint.