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
Remove deprecated OBO enterprise hooks and sentinels #7200
Placeholder: remove the deprecated OBO "enterprise overlay" hooks and sentinels once nothing uses them anymore.
Why
#7199 makes Entra OBO a built-in OSS strategy. It keeps the old extension hooks exported but // Deprecated: so the private enterprise overlay still compiles until it is deleted. When the overlay is gone, the hooks are dead surface area: indirection, mutex-guarded globals, and stale "requires an enterprise build" error paths.
Deprecated code to remove
controllerutil.OBOHandler, RegisterOBOHandler, OBOValidate, OBOSecretEnvVars, OBOApplyRunConfig, and the oboMu / oboHandler globals (cmd/thv-operator/pkg/controllerutil/tokenexchange.go)
obo.RegisterFactory, obo.DefaultFactory, and the currentFactory / factoryMu indirection (pkg/auth/obo/middleware.go)
auth.RegisterOBOStrategy / NewOBOStrategy and their globals (pkg/vmcp/auth/obo.go)
obo.ErrEnterpriseRequired and any remaining errors.Is(..., ErrEnterpriseRequired) branches (controllers, AddOBOSecretEnvVars, the vMCP condition mirroring)
ConditionReasonEnterpriseRequired: this follows the one-release deprecation window, because the constant was documented as a user-facing contract
Leftover comments that mention out-of-tree or enterprise builds for OBO
Activity
Support Entra on-behalf-of backend auth in OSS (#7201)