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
|
|
@ -1695,6 +1695,12 @@
|
|||
}
|
||||
},
|
||||
"hubUnreachableOpenSettings": "Open Settings",
|
||||
"hubAuthRejectedBanner": "{endpoint} rejected the sign-in — check the access token",
|
||||
"@hubAuthRejectedBanner": {
|
||||
"placeholders": {
|
||||
"endpoint": {"type": "String"}
|
||||
}
|
||||
},
|
||||
"navFederation": "Federation",
|
||||
"federationTitle": "Federation",
|
||||
"federationReloadTooltip": "Reload satellites",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue