Okta, Microsoft Entra ID & Generic OIDC
Configure corporate sign-in under Setup → Sign-in system using a guided wizard (or deployment environment configuration) with redirect URI https://yourcompany.controlproxy.com/auth/callback:
| Provider | Portal & Group Claims | AI Tool Sign-In Behavior |
|---|---|---|
| Okta | Standard OIDC Web App (openid email profile groups). Configure a groups token claim filter (e.g., .* or mcp-) and bind your admin group (e.g., mcp-platform-admins). | Uses an Okta custom/default Authorization Server (never Okta’s org authorization server). Supports native CIMD apps for Claude Code (https://claude.ai/oauth/claude-code-client-metadata) and VS Code (https://vscode.dev/oauth/client-metadata.json), or the strict OAuth 2.1 Sign-in Relay. |
| Microsoft Entra ID | Single-tenant App Registration; configure OIDC_SCOPES="openid profile email" (omit groups scope). Add optional ID token claims email, auth_time (for step-up auth), and upn. Uses immutable oid as user subject and handles group Object IDs (with 200-group overflow protection). | Exposes an API scope (e.g., api://<client-id>/mcp) with requestedAccessTokenVersion: 2 and routes all AI tools cleanly through the Gateway OAuth 2.1 Sign-in Relay. |
| Generic OIDC | Any standard OIDC-compliant provider supporting Authorization Code flow and JWKS discovery. | Supports direct OIDC issuer/audience validation or Gateway Sign-in Relay client bridging. |
OAuth 2.1 + PKCE Sign-In Relay
Some identity providers either lack Dynamic Client Registration / CIMD support (such as Microsoft Entra ID) or advertise legacy implicit / password grant types in discovery metadata that strict OAuth 2.1 AI clients reject.
When a Gateway sign-in relay client ID is configured (and https://yourcompany.controlproxy.com/oauth/idp/callback is registered as a public PKCE / Mobile & Desktop redirect URI), Control Proxy serves its own strict OAuth 2.1 metadata at /.well-known/oauth-authorization-server advertising only authorization_code + refresh_token with PKCE S256, mediating the browser flow between AI tools and your IdP while validating loopback, cursor://, and vscode:// callbacks.
SCIM 2.0 Provisioning
Connect automated lifecycle provisioning at https://yourcompany.controlproxy.com/scim/v2/ (for Microsoft Entra ID, append ?aadOptscim062020) using a write-only Bearer SCIM token generated under Admin → Integrations. SCIM pre-provisions accounts before first login, keeps directory groups synced by name and external ID (objectId → externalId), and immediately deactivates offboarded users.
Built-In & Custom RBAC with Separation of Duties
Control Proxy enforces strict Separation of Duties (SoD) across seven built-in additive roles and up to 100 custom roles:
| Built-In Role | Capabilities & Separation-of-Duties Boundary |
|---|---|
platform_admin | Manages portal settings, security rules, integrations, model providers, and roles. Cannot approve access requests. |
approver | Reviews and approves or denies access requests and grants access (global or scoped to specific servers). |
catalog_admin | Adds, edits, syncs, publishes, deprecates, and retires MCP servers and classifies tool risk categories. |
security_admin | Revokes access/tokens, operates emergency controls, reads logs, and inspects captured payloads (audited). |
auditor | Read-only access across configurations, grants, reports, and the hash-chained Audit Log; cannot mutate state. |
server_owner | Scoped administration for assigned servers: details, tool sync/classification, and server-specific requests. |
user | Default role for every authenticated employee: browse Catalog, request server access, manage personal keys/tokens, view My usage. |
- Self-approval block: Nobody can approve their own server access request or personal token regardless of how many roles they hold.
- Custom roles & scoped bindings: Platform admins can create up to 100 custom roles combining granular permissions (including
Use API keysor PII-unmasked analytics) and assign any role to a user, an IdP group, or a service account—globally or for a single server, with an optional end date.
Approvals, Server Groups & Step-Up Auth
- Approval workflows: End users submit justified, time-bounded requests in the Catalog. Approvers decide in
Access → Approvalsusing structured denial codes (NOT_JUSTIFIED,USE_ALT_SERVER,SOD_CONFLICT,SECURITY_RISK,DUPLICATE,OTHER), or grant direct access viaGive access. - Server groups: Bundle related MCP servers (e.g., “Engineering Core” or “Finance Read-Only”) so teams receive consistent multi-server grants without approving servers one by one.
- Step-up authentication: Sensitive changes (role assignments, approvals, API keys, sealed credentials, DLP/security policies, and gateway settings) require a recent sign-in (default 30 minutes, configurable
1 minute–8 hours).
Break-Glass Codes & 8-Hour Emergency Access Standby Tokens
When your corporate identity provider experiences an outage, Control Proxy provides two audited recovery mechanisms:
- Break-glass recovery account (
/break-glass): Generates 10 single-use recovery codes shown once. Signing in with a code bypasses the IdP, operates without step-up prompts, triggers an immediatebreak_glass_usedsecurity alert and persistent admin banner, and is restricted from creating API keys or personal tokens. - 8-hour Emergency Access standby tokens: Admins can set personal MCP tokens to
Only during emergency access. Employees pre-generate a standby token on their profile (valid up to 365 days) that returns401during normal operation. If the IdP goes down, an admin (including via break-glass) declares Emergency Access—activating standby tokens for 8 hours by default (configurable1–72 hours) before auto-expiring or being ended manually. Both declaration and termination emit alerts and Audit Log entries.
8 Ready-Made Compliance Reports
Available under Activity → Reports with role-based permissions, UTC custom date ranges (up to 90 days), one-click standalone HTML download, print-to-PDF formatting, PII redaction when the caller lacks analytics.read_pii, and Audit Log tracking for every report run:
| Category | Report Title | Scope & Window |
|---|---|---|
| Access & Governance | Who can use each server | Live snapshot of every server, assigned groups/users, tools, and grant expiry. |
| Access & Governance | What each person can use | Live snapshot of every user’s server grants (direct vs. group-inherited). |
| Access & Governance | Access governance and lifecycle | Expiring grants, unused active grants, broad/high-risk access, approval turnaround (30/90d & custom). |
| Usage & Cost | LLM spend and token usage | Requests, token volume, cache efficiency, spend by model/provider/dept, routing savings (7/30/90d & custom). |
| Usage & Cost | MCP tool usage and reliability | Call volume, success/error/blocked rates, latency percentiles, refusals, department usage (7/30/90d & custom). |
| Security & Compliance | Security findings | Top triggered DLP/Threat rules, affected users, and servers/providers (7/30/90d & custom). |
| Security & Compliance | Guardrail and AI judge effectiveness | Protection layer blocks/masks, AI Judge fast-path vs. escalation rates, planted outputs, tool drift (7/30/90d & custom). |
| Access & Governance | Administrative audit and privilege activity | Sensitive admin actions, role bindings, and hash-chain verification status (7/30/90d & custom). |
REST API & /api/v1/mcp Automation
Automate catalog management and audit ingestion using Personal API keys (requires a role with Use API keys) or Service accounts (which can also be authorized to call /mcp directly for headless pipelines). Keys authenticate with Authorization: Bearer <key>, skip cookies/CSRF, and are rate-limited at 300 calls/min. Operations requiring step-up confirmation (roles, grants, settings, key creation) are restricted to interactive human sessions.
curl -X POST https://yourcompany.controlproxy.com/api/v1/admin/catalog/servers \
-H "Authorization: Bearer $MCP_REGISTRY_KEY" \
-H "Content-Type: application/json" \
-d '{"slug":"invoices","name":"Invoices","description":"Look up invoices.","dataClassification":"internal","riskTier":"low","upstreamUrl":"https://mcp.invoices.example/mcp"}'
The exact same catalog operations are exposed as an MCP server at /api/v1/mcp—either directly for CI pipelines with a service account key, or added to your catalog via Add MCP Registry to the catalog so employees connect without ever handling an API key:
- Available MCP tools at
/api/v1/mcp:whoami,search_catalog,list_servers,get_server,add_server,update_server,sync_tools,set_server_status,delete_server, andwho_has_access.