> ## Documentation Index
> Fetch the complete documentation index at: https://docs.telepatia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Session Recovery

> When the JWT expires, the panel shows a warning with a re-login button.

When the JWT expires, the panel shows a warning with a re-login button.

When the extension loses authentication (e.g. refresh token revoked by a race condition with scribe-web), the panel swaps to a "Session expired" view with a clear message and a "Sign in" button that opens the login popup.

The swap is deferred while a recording is in flight — unmounting the recorder mid-recording would orphan the in-progress consultation. Once the recording reaches idle, the logged-out view appears.
