Patch Changes
-
c2b7f82: Bound how long a hosted realtime stream can outlive the session that authorized it. Subscribe tokens now carry an optional
absExpceiling thatverifyRealtimeSubscribeTokenenforces independently ofexp(rejecting withsession_expired), and the mint endpoint sets it to 15 minutes. The gateway re-signs a stream's token every few minutes without consulting the app, so previously one mint could be extended indefinitely and logout, session expiry, user deletion or org removal never reached an open stream. Rotation must copyabsExpverbatim and refuse to rotate past it.AppSyncStateOptionsalso gainsaccessAllowTtlMs(default 30s).invalidateCollabAccessCacheonly reaches the in-process default instance, so a gateway holding per-app instances cannot be told a share was revoked and keeps serving its cached ALLOW until the TTL lapses; a shorter value bounds that window at the cost of morecan-seeround-trips.