Repository navigation
feat: adopt shared OAuth configuration and UserInfo - #363
Merged
Merged
Conversation
The server reads its OAuth settings with oauthconfig.SettingsFromEnv (mcp-oauth v1.24.0). The --oauth-*, --dex-*, --google-*, --sso-allow-private-ip-jwks-hosts and --allow-public-client-registration flags and their variables map onto the OAUTH_* names for one more release and log a deprecation warning. OAUTH_PROVIDER=github is refused at startup: it issues no ID token. Created clusters' OIDC takes the Dex issuer from OAUTH_DEX_ISSUER_URL and its CA from OAUTH_DEX_CA_FILE. The chart renders the OAUTH_* variables from its existing values and no longer passes the no-op allowPrivateURLs and allowPrivateIPs values.
…nID Provider The chart reads oauth.resourceServer (resource, additionalResources, authorizationServers, trustedIssuers, requireResourceAccessTokens) and oauth.authorizationServer (enabled, issuer, upstream type/issuer/client/certificateAuthority, dynamicClientRegistration, clientIDMetadataDocuments, storage), and renders them as OAUTH_* variables with client secrets mounted as files. Without trustedIssuers it lists the provider people sign in with in OAUTH_TRUSTED_ISSUERS as the openIDProvider, accepting its ID tokens for the platform client and the MCPServer's requiredAudiences, in place of OAUTH_TRUSTED_AUDIENCES. The earlier oauth.* keys still work for one more release; NOTES names each one that is set.
…dentity package The request's user is mcp-oauth's validated providers.UserInfo: the authenticated-request debug line names it as user.issuer, user.subject and user.actor.* (UserInfo.LogValue, no profile data) with token_source, instead of caller and source, and create_cluster binds the creator from UserInfo's email. The ID token presented to Kubernetes under --downstream-oauth lives in internal/idtoken; the GitHub App user access token commit mode opens the pull request with is tools.GitHubUserAccessToken.
Published Helm chart
|
| Chart | cluster-manager |
| Version | 0.39.10-r14517d4at20261127122138h1028e4e |
| OCI reference | oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager:0.39.10-r14517d4at20261127122138h1028e4e |
| Digest | sha256:d327d53e974a26bb3d0da65b31dbedeaefd0584a9e7c0184e36171f54e6bc764 |
| Registry | public — gsoci.azurecr.io |
| Git catalog | giantswarm-test-catalog (index) |
Pull this chart
helm pull oci://gsoci.azurecr.io/charts/giantswarm/cluster-manager --version 0.39.10-r14517d4at20261127122138h1028e4ePosted by architect-orb · build 5598 · commit 1028e4e · updated in place on every push
QuentinBisson
force-pushed
the
feat/mcp-library-adoption
branch
from
November 27, 2026 10:30
69bbab2 to
956d967
Compare
Contributor
Author
|
Tested on agentlab-2 (agentlab rc.81, Dex issuer under the lab domain, agent-platform 4.186.0-rc.5) with the image built from 69bbab2 (
cluster-manager has no REST API, only probes and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adopts mcp-oauth v1.24.0 configuration and
UserInfo, with separate resource-server and authorization-server values. Deprecated inputs remain supported, including the platform login audience.What is the effect of this change to users?
Resource-server-only operation supports GitHub exchange without local OAuth client credentials. Automatic cluster OIDC requires an unambiguous provider; creator RBAC requires verified email. Logs identify callers by issuer and subject.
Any background context you can provide?
Part of #349 and giantswarm/giantswarm#39405 slice 5; platform wiring is giantswarm/agent-platform#1512. Provider ID-token forwarding remains the documented compatibility exception tracked in giantswarm/giantswarm#39102, so this is not complete MCP authorization conformance.
Do the docs need to be updated?
Updated identity behavior, chart values and generated documentation. Regression checks cover resource-only MCP requests, audiences, provider ambiguity and creator bindings.