mirror of
https://github.com/kubeshark/kubeshark.git
synced 2026-07-10 09:00:15 +00:00
- hubtoken: HubTokenRenewer.Token() no longer hands out an already-expired token on mint failure — returns "" so the round-tripper falls back to the License-Key instead of looping on 401s. - utils/http: hub clients no longer follow SSO redirects (StopOnSSORedirect CheckRedirect on 302/303), and IsAuthRequired covers 302+303, so auth detection is reliable instead of silently following to an HTML login page. - mcpRunner: fetchHubMCP/callHubTool/fetchAndDisplayTools/callDownloadFile use utils.IsAuthRequired (401 + unfollowed redirect) instead of bare 401; download path checks it before writing the body to disk; URL-mode auth message now also mentions the License-Key fallback.