Enterprise Managed Auth is available on Claude Team and Enterprise plans. Anthropic marks only Verified directory listings as supporting it.
- Accept and validate identity assertions at your authorization server
- Let customer administrators register a trusted issuer
- Add express admin setup (recommended)
- Test your implementation
- Ask Anthropic to mark your listing
Understand how Enterprise Managed Auth works
Claude presents your authorization server with a signed JSON Web Token (JWT) called an identity assertion. Your authorization server validates it and returns an access token. Your MCP server receives the same kind of bearer token it would after the interactive OAuth flow.Who issues the identity assertion
Each customer workspace, meaning the customer’s tenant in your product, trusts one or more issuers of identity assertions. Each issuer is one of these kinds:- Identity provider-issued: the customer’s identity provider issues and signs the assertion under its own issuer URL, for a user who signed in to Claude through the organization’s single sign-on (SSO).
- Claude-issued: Claude issues and signs the assertion under an issuer URL that belongs to the customer’s Claude organization. The URL has the form
https://identity.anthropic.com/issuers/<issuer-id>, where<issuer-id>differs for each Claude organization and isn’t the organization’s ID.
Prerequisites
Before you add Enterprise Managed Auth, make sure that:- Your MCP server implements MCP authorization, including Protected Resource Metadata discovery, and meets Claude’s authentication requirements.
- Your authorization server registers Claude through a Client ID Metadata Document or a client that Anthropic set up for your server’s URL. Dynamic Client Registration (DCR) isn’t supported.
mcp-review@anthropic.com with your listing’s name and its exact server URLs, and don’t put the secret in the email.
Enterprise Managed Auth works with lazy authentication, and doesn’t apply to authless servers.
Authorization server requirements
If you use a hosted identity platform, confirm that it supports the JWT bearer grant (RFC 7523), runs every check in Validate the identity assertion, and can trust an issuer URL that doesn’t belong to the customer’s identity provider.1
Advertise the JWT bearer grant
Accept Your metadata must also meet these conditions:
urn:ietf:params:oauth:grant-type:jwt-bearer at your token endpoint, and list it in grant_types_supported in your authorization server metadata (RFC 8414):issuermatches the URL Claude fetched the metadata from (RFC 8414 section 3.3)token_endpointis on the same registrable domain asissuer, such ashttps://api.example.com/tokenfor the issuerhttps://www.example.com
issuer later, even by a trailing slash. A change stops Claude-issued sign-ins for customers who are already set up.2
Accept the token request
Claude sends a form-encoded The
POST to your token endpoint and doesn’t follow redirects. This example leaves out client authentication:client_id is the client Claude is registered under, which for a Client ID Metadata Document is the document’s URL. If that client has a secret or key, require it on this request:- Client secret: accept
client_secret_post, because Claude sends the secret in the request body. - Signed client assertion: if you use Claude’s Client ID Metadata Document and list
private_key_jwtintoken_endpoint_auth_methods_supported, Claude uses the client IDhttps://claude.ai/oauth/mcp-oauth-client-metadata/confidential_client. Accept it as well as the public document’s URL, and verify the client assertion with the keys at thejwks_uriin theconfidential_clientdocument.
3
Return an access token
Validate the assertion, find the user, and return a standard OAuth token response. Include
expires_in, and don’t issue a refresh token for this grant. Keep issuing refresh tokens in the interactive OAuth flow, which relies on them.When the access token expires, Claude exchanges a new assertion without any user interaction, so a short lifetime such as one hour works.When a user is removed from the customer’s Claude organization, Claude stops signing Claude-issued assertions for them. Tokens you already issued stay valid, so the lifetime bounds how long that user keeps access.Identity assertion claims
This example shows the decoded payload of a Claude-issued assertion:email and set a different lifetime. Either kind of assertion can leave out scope and aud_tenant. These claims need extra handling:
aud_tenant: your ID for the customer’s workspace, for whenissalone doesn’t identify one. Administrators enter it in Claude for Claude-issued assertions, and otherwise in their identity provider if it has the field. Claude doesn’t check the value, so use it only to choose the workspace.client_id: for identity provider-issued assertions, the customer’s identity provider sets this claim, and it must match the client ID that Claude presents to you. Name that client ID in your setup documentation. Adding or removingprivate_key_jwtcan change that client ID and stop these sign-ins until administrators update it, so tell them first.auth_time,amr, andacr: optional in Claude-issued assertions.auth_timeis when the identity provider authenticated the user, or otherwise when they signed in to Claude. Claude passes onamrandacrunchanged from the identity provider, and a missingamrdoesn’t mean the user skipped multi-factor authentication.
Validate the identity assertion
First, find the one workspace the assertion is for. If you use tenant IDs and the assertion carriesaud_tenant, take the workspace it names. Otherwise, take the workspace that registered iss, and reject the assertion if no workspace or more than one did.
Then run these checks in order on every token request. Reject a failed Resource check with invalid_target and any other failure with invalid_grant:
- Issuer:
issis an exact string match for a trusted issuer of that workspace. Match the entire issuer URL, including its path, not just the host. Claude issuer URLs differ only in the path, so a prefix or host match admits other customers’ users. Check this before you fetch any keys. - Keys: fetch
<iss>/.well-known/openid-configuration, confirm that itsissuerequalsiss, and fetch the key set from itsjwks_uri. A Claude issuer’s document isn’t a full OpenID Connect configuration, so readissuerandjwks_urifrom it yourself. Ignore any key or key URL in the assertion’s header, and don’t pin a key. Cache keys as the response headers allow, and fetch them again when you see an unknownkid. - Signature: the signature verifies against a key from that key set. Accept ES256 and RS256, and reject every other
alg, includingnoneand HMAC algorithms such as HS256. - Type: the
typheader isoauth-id-jag+jwt. Check it yourself if your library doesn’t. - Audience:
audis your authorization server’sissuer, exactly as published, as a string or as an array with one element. - Client: the
client_idclaim equals theclient_idof this request. - Subject: a
subclaim is present. - Time:
exphasn’t passed andiatisn’t in the future. Allow at most 60 seconds of clock skew. - Replay: accept each
jtifrom an issuer once, and remember it untilexpplus your clock skew. Reject the request ifjtiis missing or you can’t check it. - Resource: if the request has a
resourceparameter (RFC 8707), the whole value matches theresourcethat one of your MCP servers publishes, staging included, ignoring a trailing slash, host letter case, and a default port. Issue the token for that server only. A request withoutresourcepasses this check.
Find the user
Look the user up among the members of the workspace the assertion resolved to, and issue the access token for that workspace only. Choose the lookup byiss, where a Claude issuer URL has the exact host identity.anthropic.com:
- Identity provider-issued: find the user by
issandsubtogether. The ID-JAG format requiressubto match the subject your product receives when that user signs in through SSO. - Claude-issued: find the user by
email, not bysub, which is opaque and optional to store. Compare the whole address, ignore letter case, and keep dots and plus tags.
Support customer administrators
A customer’s administrator registers trusted issuers in your admin settings, or from Claude through express admin setup, which is recommended.Admin settings in your product
Give each workspace’s administrators, and only them, these settings:- On or off: a control that turns Enterprise Managed Auth on or off for the workspace.
- Trusted issuer URLs: a field to set and remove them. Require
https, and allow Claude issuer URLs. Each Claude organization has its own issuer, so allowing more than one helps customers with several organizations. - Tenant ID: your ID for the workspace, if you use one, for them to copy.
Provide setup documentation
Publish a guide that walks administrators through your admin settings, including how to enter a Claude issuer URL. Add its URL to your directory listing, and Claude shows the link during auto-connect setup.Okta Integration Network apps
If your product has an app in the Okta Integration Network, work with Okta to enable Cross App Access (XAA) for it. Without it, customers need to create a custom Okta app for your product.Support express admin setup
Express admin setup is optional but recommended. The administrator clicks Connect in Claude’s auto-connect setup and approves one consent screen. Claude then sends you the issuer URL, and you return your tenant ID if you use one. It works for both kinds of assertion.What to build for express admin setup
After your server meets the authorization server requirements, add these:- A new scope: support
ema_issuer:manage, which allows turning on Enterprise Managed Auth and setting the trusted issuer for one workspace. List it inscopes_supportedin your authorization server metadata so that Claude shows the Connect button. If you prefer not to advertise it, emailmcp-review@anthropic.comto have your listing marked instead. - A grant for Claude only: issue the scope only to the client you registered for Claude or to
https://claude.ai/oauth/mcp-oauth-client-metadata, plus its/confidential_clientform if you listprivate_key_jwt. Match the client ID and redirect URI in full. Never grant the scope unasked. To ask that Claude use the/confidential_clientform for the setup, emailmcp-review@anthropic.comwith your issuer URL. Until Anthropic confirms the change, keep granting the scope to the client Claude uses today. - A consent screen: name the workspace, say what approval turns on, and let only the workspace’s administrators approve.
- Your issuer in the redirect: include
iss(RFC 9207), set to your metadata’sissuer, in every redirect back to Claude. Setauthorization_response_iss_parameter_supportedtotruein your metadata. - One extra token response field: return
ema_setup_endpoint, anhttpsURL on the same origin as your issuer, token endpoint, or MCP server. Return no refresh token. - A setup endpoint: accept a
PUTwithema_issuer, store it as the only trusted issuer of the token’s workspace, turn on Enterprise Managed Auth, and return your tenant ID asaud_tenantif you use one. Say on the consent screen that approval replaces any current issuers. If you allow several issuers, administrators add the others in your admin settings. - Checks on every call: the token carries the scope, the approver administers the workspace, no other customer’s workspace has registered the issuer, and the issuer passes your admin settings checks. Accept Claude issuer URLs, which are
httpsURLs with the exact hostidentity.anthropic.comand the path/issuers/<issuer-id>. If the workspace has single sign-on set up, also accept the issuer URL of the identity provider account that it signs in through. Refuse any other issuer, even when an administrator approved the request.
Express admin setup requests
Claude starts with an authorization request for the setup scope:4xx status with error and error_description, which Claude shows to the administrator. Use access_denied when the user doesn’t administer the workspace and issuer_in_use when another customer’s workspace has registered the issuer.
Claude uses the access token once and doesn’t store it. It fills in your tenant ID for Claude-issued assertions. For identity provider-issued assertions, the administrator enters it in their identity provider.
Test your implementation
While you develop, point Okta’s Cross App Access sandbox at your authorization server. It tests the JWT bearer grant and metadata discovery without a Claude organization. Then test end to end from a Claude organization on a Team or Enterprise plan, signed in as an Owner or Primary Owner. Use your company’s organization or create a Team organization for testing.Choose a test organization
Pick the organization by the kind of assertion you’re testing:- Claude-issued: test this first. The organization needs no SSO, verified domain, or identity provider.
- Identity provider-issued: use an organization that signs in to Claude through Okta, where you can test both kinds. To create one, get an Okta org from the Integrator Free Plan, then verify a domain and set up SSO for your Team organization. Give each test user an address on that domain, and sign in to Claude through SSO before you test.
Add your connector and run the connection test
1
Add your MCP server as a custom connector
Add the connector for the organization. If your server is already in the Connectors Directory, use a different URL from your listing’s, such as a staging deployment. A connector at your listing’s URL shows the Auto-connect row only after Anthropic marks your listing as supporting Enterprise Managed Auth or enables it for your organization.To test at your listing’s URL before it’s marked, add the custom connector at that URL in an organization that doesn’t have your connector from the directory. Then email
mcp-review@anthropic.com to have Enterprise Managed Auth enabled for it. Include your listing’s name, whether you need a tenant ID, and the Organization ID from Organization settings > Organization and access.2
Open the auto-connect setup
Open the connector, and click Set up on the Auto-connect row. If the connector has tabs, the row is on the Configuration tab. Under Identity source, choose IdP-managed (identity provider-issued) or Claude-issued.For IdP-managed, follow the first step under Setup guide to register Claude and your connector in Okta. See Okta’s Cross App Access guide for AI agents for the Okta Admin Console steps.
3
Register the issuer in your test workspace
If you support express admin setup, click Connect. If the button doesn’t show, check that your metadata lists the
ema_issuer:manage scope and, if you use Claude’s Client ID Metadata Document, lists none in token_endpoint_auth_methods_supported.Otherwise, register the issuer URL in your test workspace. For Claude-issued, copy the Issuer URL that the setup shows, and enter your workspace’s ID in Tenant ID if you use one.4
Run the connection test
Click Test connection under Connection status. The test shows which step failed, what Claude sent and received, and the assertion’s decoded claims.
Cases to check before launch
Check that an assertion from a registered issuer signs the right user in, both withresource and without it. Then check that your server refuses:
- An
issthat no workspace registered, including one that differs from a registered issuer only in its path - An
issthat a workspace removed or replaced - An
issthat several workspaces registered, when noaud_tenantpicks one - An
aud_tenantthat names a workspace that hasn’t registered theiss - An assertion presented a second time
- An
audthat isn’t your authorization server’s issuer - A
resourcethat isn’t one of your servers - A Claude-issued assertion for an address your service hasn’t verified, on a domain the workspace hasn’t verified
iss as your metadata advertises. Check that a run with a different issuer replaces the current ones. Then check that your server refuses:
- The scope, when the approver isn’t a workspace administrator
- The scope, for another client or a redirect URI that doesn’t match in full
- The scope in an ordinary sign-in, and that sign-in’s token at the setup endpoint
- An issuer registered to another customer’s workspace
- An issuer that is neither a Claude issuer URL nor the workspace’s own single sign-on issuer
Launch checklist
Anthropic marks only Verified listings as supporting Enterprise Managed Auth, and Connector verification explains how a listing becomes Verified. Before you ask, confirm that:- Every case to check before launch passes for each kind of assertion your server accepts
- Your admin settings let a customer’s administrator set trusted issuers
- Your setup documentation is published and linked on your directory listing
mcp-review@anthropic.com with:
- Your listing’s name
- Whether your server accepts Claude-issued assertions, identity provider-issued assertions, or both
- The URL of your setup documentation
- Whether you support express admin setup
- Whether your server requires a tenant ID (
aud_tenant), so that administrators see the Tenant ID field
Related resources
- Authentication for connectors: baseline OAuth requirements your server must already meet
- Lazy authentication: ask users to sign in only when Claude reaches a tool that needs their account
- Test your connector: verify your connector works end to end in Claude
- Troubleshoot your connector: diagnose common authentication and connection issues