You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime #4485
The VirtualMCPServer CRD supports jwksUrl and introspectionUrl on its OIDC config (via MCPOIDCConfig), and the operator's OIDC resolver correctly extracts them into oidc.OIDCConfig.JWKSURL and .IntrospectionURL. However, the converter that maps from oidc.OIDCConfig → vmcpconfig.OIDCConfig silently drops both fields because the vMCP runtime config struct doesn't define them.
On the MCPServer path these fields flow through correctly via runner.WithOIDCConfig(...) → auth.TokenValidatorConfig.JWKSURL / .IntrospectionURL. The vMCP path is missing the equivalent wiring.
Impact: vMCP always falls back to OIDC discovery to find the JWKS endpoint. This fails when the OIDC issuer doesn't serve a /.well-known/openid-configuration or when the user wants to override the JWKS/introspection URL explicitly.
Does not pass JWKS/introspection URL to auth.TokenValidatorConfig
Proposed fix
Add fields to vmcpconfig.OIDCConfig (pkg/vmcp/config/config.go): add JwksUrl string and IntrospectionUrl string optional fields
Regenerate deepcopy: task gen
Wire in converter (cmd/thv-operator/pkg/vmcpconfig/converter.go): map resolved.JWKSURL → config.JwksUrl and resolved.IntrospectionURL → config.IntrospectionUrl
Wire in auth factory (pkg/vmcp/auth/factory/incoming.go): pass oidcCfg.JwksUrl → JWKSURL and oidcCfg.IntrospectionUrl → IntrospectionURL on auth.TokenValidatorConfig
Update tests: converter test (converter_test.go) and YAML loader test (yaml_loader_test.go)
changed the title [-]Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/-][+]bug: Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/+]on Apr 1, 2026
changed the title [-]bug: Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/-][+]Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/+]on Apr 1, 2026
Activity
[-]Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/-][+]bug: Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/+][-]bug: Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/-][+]Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to runtime[/+]Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to run…
Wire jwksUrl and introspectionUrl from vMCP inline OIDC config to run…