mirror of
https://github.com/openziti/ziti.git
synced 2026-09-10 08:45:41 +00:00
f219e6d035
- loadFromBolt now accepts a non-JWT (legacy/durable) service session token by looking the session up via Session.ReadByToken and verifying it belongs to the api session, so a legacy client's existing session keeps working across a controller upgrade instead of failing as a malformed JWT - classifies service-access token validation failures (malformed, expired, bad claims, mismatched api session, revoked) as InvalidSession so the client re-creates, while revocation-store/datastore read failures remain internalError so a transient controller fault does not make clients discard valid sessions - adds a typed common.InvalidTokenError so ValidateServiceAccessToken can distinguish token-level failures from infrastructure failures