mateclaw/mateclaw-server/src/main/java/vip/mate/auth
matevip e0ce5e2ea7 fix(sso): gate SSO runtime beans on mateclaw.sso.enabled
SsoService / SsoStateService / SsoController / SsoProviderRegistry were
unconditional component-scanned beans, but their configuration
(SsoProperties) is only registered by the conditional auto-configuration.
With SSO disabled (the default) the services were still instantiated and
startup failed: "required a bean of type SsoProperties that could not be
found". Gate the four beans on the same mateclaw.sso.enabled=true
condition so the SSO stack loads as a unit — disabled = no beans and no
exposed endpoints; enabled = the auto-configuration provides SsoProperties
and everything wires.

Verified: backend starts clean with SSO disabled (default).
2026-06-26 10:27:16 +08:00
..
controller feat(workspace,system): add @RequireGlobalAdmin and gate admin-only controllers 2026-05-15 10:18:10 +08:00
model Harden goal approval and workspace flows 2026-05-23 22:55:16 +08:00
pat fix(auth): suppress tokenHash from PAT JSON responses 2026-05-02 15:41:47 +08:00
repository Initial commit: MateClaw — Java + Vue 3 AI Assistant System 2026-04-04 19:03:49 +08:00
service feat(sso): 飞书 OAuth2 单点登录 (ISSUE #405 P0) (#419) 2026-06-26 10:00:31 +08:00
sso fix(sso): gate SSO runtime beans on mateclaw.sso.enabled 2026-06-26 10:27:16 +08:00