fix(health): token_broker health check only when tokens are enabled #72

Merged
james.maes merged 1 commits from fix/health-token-broker-develop into develop 2026-11-09 18:46:34 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Sonnet 5.5 82c79d69be fix(health): register the token_broker health check only when tokens are enabled
maven / build (push) Successful in 11m34s
build / maven (push) Successful in 11m34s
With AUTHENTIK_QBIT_TOKENS off the check could only ever report UNKNOWN
"not configured", and core has no way to remove a registered check, so the
health page showed a permanent UNKNOWN row. Register it only when
getTokensEnabled() is true; the other checks are unchanged.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-11-09 12:24:34 -06:00