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

Merged
james.maes merged 1 commits from fix/health-token-broker-only-when-tokens-on into release/0.1 2026-11-09 18:36:25 +00:00
1 Commits
Author SHA1 Message Date
james.maesandClaude Sonnet 5.5 477bfff3a2 fix(health): register the token_broker health check only when tokens are enabled
maven / build (push) Successful in 11m22s
build / maven (push) Successful in 11m22s
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:32 -06:00