Keycloak

Configure an OpenID Connect authorization-code client in Keycloak. Enable PKCE (S256), register the exact public HTTPS callback URL /api/v1/auth/oidc/callback, and return the auth_time claim when max_age=0 is requested. Discovery, JWKS, and token endpoints must share the issuer origin. Operator refuses redirects and loopback or metadata-service destinations.

In Operator Connections → Operator identities, add the issuer, client ID, callback URI, and optional path to a server-mounted client secret file. Keep that file readable only by Operator. A Premium license is required to add connections or expand permissions.

Users sign in from the login page. Their first sign-in creates a pending user identified by issuer and subject. Approve the user and select profile capabilities and projects in Connections. Approved users can create keys after a recent OIDC sign-in.

MCP clients

Remote MCP clients such as AGNT authenticate with a Keycloak access token instead of an Operator key. Operator publishes /.well-known/oauth-protected-resource when [rest_api].public_url is set and this connection is enabled.

See Authentication for lifecycle, permission, revocation, and deployment constraints.