chore: drop OAuth proxy provider code
Merged
QS
3mo ago+4640+4640+0123456789012345678901234567890123456789-32007-32007-01234567890123456789012345678901234567890123456789
All servers are now migrated off of the legacy oauth proxy. There are two servers (cents Sentry and Fermat MCP) that still have some session refreshing against the old token endpont. This PR adds a graceful 400 to force re-authentication for those two servers. Otherwise, there is no residual traffic in Datadog and all servers have been migrated to user session issuer configuration.
What
Removes the legacy OAuth proxy provider system now that toolsets migrate to user session issuers. external_oauth_server_metadata is untouched. The oauth_proxy_* tables + toolsets.oauth_proxy_server_id column are left for a later data-drop PR (Phase 3).
Commits
Server (removal):
refactor(oauth): remove the OAuth proxy serving pathrefactor(oauth): remove the oauth/providers packagerefactor: remove OAuth proxy management endpoints and migration enablementchore(gen): regenerate artifactsrefactor(cache): drop AdditionalCacheKeys from CacheableObjectrefactor(audit): stop emitting OAuth proxy audit events(action constants kept for historical entries)
Dashboard (rewire):
chore(gen): regenerate SDKfix(dashboard): adopt renamed TokenEndpointAuthMethod SDK enumrefactor(dashboard): create user session issuers from the OAuth config flowโ the Configure-OAuth wizard keeps its structure but its custom path now provisions a user_session_issuer + remote_session_issuer + remote_session_client and links the toolset (replacing the removed proxy creation); external-OAuth path unchanged; migrate-from-proxy + Platform/Edit proxy modals removed; feature gate dropped.
Testing
- Server:
build:server,lint:serverclean;test:server ./internal/...= 5,138 passing. - Dashboard:
type-check+ fulllintclean;pnpm -F dashboard test= 504/505 (the 1 failure is a pre-existing, unrelatedworkspace-switchermock issue); oauth-wizard suite 59/59.
๐ค Generated with Claude Code