fix(shell): auth-rejected hub no longer reported as unreachable
Some checks are pending
Security / Security check (push) Waiting to run
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:
parent
33e5d35ac9
commit
f0f151fa7a
8 changed files with 127 additions and 5 deletions
|
|
@ -4903,6 +4903,12 @@ abstract class AppLocalizations {
|
|||
/// **'Open Settings'**
|
||||
String get hubUnreachableOpenSettings;
|
||||
|
||||
/// No description provided for @hubAuthRejectedBanner.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
/// **'{endpoint} rejected the sign-in — check the access token'**
|
||||
String hubAuthRejectedBanner(String endpoint);
|
||||
|
||||
/// No description provided for @navFederation.
|
||||
///
|
||||
/// In en, this message translates to:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue