fix(shell): auth-rejected hub no longer reported as unreachable
Some checks are pending
Security / Security check (push) Waiting to run

The sustained-failure banner treated every failed health poll as
'can't reach the hub'. With token auth active, a wrong or rotated
token gets UNAUTHENTICATED from a perfectly reachable hub — the
old wording sent the operator to fix the endpoint. The shell now
uses the SDK's probe() and, on auth rejection, switches the banner
to 'rejected the sign-in — check the access token' (key-off icon,
DE+EN). Two widget tests pin the wording per failure kind and the
banner clearing once the probe turns serving.

Signed-off-by: flemming-it <stefan.a.flemming@googlemail.com>
This commit is contained in:
flemming-it 2026-07-15 04:45:28 +02:00
parent 33e5d35ac9
commit f0f151fa7a
8 changed files with 127 additions and 5 deletions

View file

@ -2890,6 +2890,11 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get hubUnreachableOpenSettings => 'Einstellungen öffnen';
@override
String hubAuthRejectedBanner(String endpoint) {
return '$endpoint lehnt die Anmeldung ab — Zugriffstoken prüfen';
}
@override
String get navFederation => 'Föderation';