Centralized
Your IdP decides who can authenticate.
User-scoped
PatchOps still enforces each member's assignments.
Short-lived
Exchanged access tokens expire after 15 minutes.
What you need.
- The PatchOps organization owner account (only the owner can set the identity provider)
- For Claude-issued: a Claude Team or Enterprise plan. Otherwise: your IdP's issuer URL
- Employees already invited to the PatchOps organization
- Connector access assigned to those employees
- Members whose PatchOps email addresses are verified
Let Claude sign in your team.
On a Claude Team or Enterprise plan, Claude can issue the identity assertions itself. You don't need SSO or an identity provider.
Start in Claude
In the Claude admin console, open the PatchOps connector, then Authentication, then Managed authorization. Choose Claude-issued. Claude shows an Issuer URL that looks like https://identity.anthropic.com/issuers/<issuer-id>.
Trust Claude in PatchOps
In PatchOps, open Organization, then Enterprise auth, and choose Claude-issued. Paste the Issuer URL, turn on the exchange, and save. PatchOps reads Claude's signing keys from the issuer's OpenID configuration.
Enter the PatchOps Tenant ID in Claude
Copy the Tenant ID that PatchOps shows and paste it into Claude's Tenant ID field. PatchOps then accepts Claude's assertions only for this organization.
Run the test in Claude
Click Run test under Connection status. Claude finds each person by the email address on their Claude account. That person must be a member of the PatchOps organization with a verified PatchOps email address.
Connect the trust chain.
Add your identity provider
In Organization → Enterprise auth, choose Enterprise IdP and enter the exact HTTPS issuer your IdP publishes. Leave the JWKS URI blank to read it from the issuer's OpenID configuration. PatchOps accepts RS256 and ES256 signatures.
Map identity claims
Keep the default verified-email claims or provide your tenant-specific mappings. PatchOps links only an existing organization member with a matching verified corporate email; it does not create users just in time.
Create a confidential client
Create one PatchOps credential per enterprise MCP client. Copy the secret immediately: PatchOps stores only its hash and cannot display the plaintext again.
Configure your enterprise MCP client
Give the client the PatchOps MCP and token endpoints below, then configure your IdP to issue a short-lived ID-JAG with the required header and claims.
Test with a provisioned member
Use an employee who already belongs to the PatchOps organization and has at least one connector assignment. Confirm that the agent sees only that employee's assigned connections.
Use these exact PatchOps endpoints.
MCP resource
https://patchops.ai/api/mcpToken endpoint
https://patchops.ai/api/oauth/tokenAudience
https://patchops.aiScopes
mcp:read mcp:toolsID-JAG header and claims
YAML
Header
typ: oauth-id-jag+jwt
alg: RS256 or ES256
kid: <your signing-key ID>
Required claims
iss: <your configured IdP issuer>
sub: <stable employee subject>
aud: https://patchops.ai
client_id: <the client ID on the token request>
resource: https://patchops.ai/api/mcp (optional)
scope: mcp:read mcp:tools (optional)
aud_tenant: <PatchOps Tenant ID> (optional)
email: employee@company.com
email_verified: true
iat: <issued-at time>
exp: <no more than 10 minutes after iat>
jti: <unique assertion ID>Token exchange
HTTP
POST https://patchops.ai/api/oauth/token
Content-Type: application/x-www-form-urlencoded
grant_type=urn:ietf:params:oauth:grant-type:jwt-bearer
&assertion=<signed-ID-JAG>
&client_id=<PatchOps-enterprise-client-ID>
&client_secret=<PatchOps-enterprise-client-secret>
&resource=https%3A%2F%2Fpatchops.ai%2Fapi%2Fmcp
&scope=mcp%3Aread%20mcp%3AtoolsAssertions must expire within ten minutes and use a unique jti. PatchOps checks the issuer, signing key, audience, client, time claims, tenant, email, and replay status before it issues a token. It never issues a refresh token for this grant.
Central identity does not mean shared personal data.
Enterprise authorization proves the employee's PatchOps identity. It does not turn personal Outlook, Teams, Google, or GitHub OAuth credentials into shared organization credentials.
Agents receive only the connectors already assigned to that member. Create and distribute the confidential client secret outside model prompts, chat transcripts, logs, and MCP tool arguments.
Let an org-admin agent inspect, not handle secrets.
An authenticated organization owner or admin can ask an MCP agent to call patchops_orgGetEnterpriseAuthSetup. The tool reports readiness, non-secret client metadata, required claims, endpoints, and next actions. It cannot change trust settings, create a client, or reveal a secret.
Common checks.
Unknown employee
Invite the user to the PatchOps organization and verify the assertion email matches their account.
No connectors appear
Assign at least one organization connection to the member. Authentication does not bypass connector grants.
Invalid assertion
Check typ, kid, issuer, audience, resource, client_id, clock skew, expiry, and the configured tenant claim.
Replay rejected
Generate a new assertion with a unique jti for every exchange. Assertions are single-use.
Using Claude Enterprise? Follow Anthropic's current enterprise-managed authorization enablement instructions in addition to this PatchOps configuration. Open Claude guidance
Who can use which connector is decided by the organization's keys, grants and groups. Read about organization access
