#411 — [Bug]: alert “Facade many wrong JWT” with ‘Signature has expired’ triggered by UI
Repo: Twill-AI/twill-ai-ui State: open | Status: open Assignee: raymondehizoba
Created: 2025-06-06 · Updated: 2025-07-01
Description
Caused by https://twill-network.slack.com/archives/C07TPN6FCBX/p1748943029423559
Steps to reproduce
To reproduce:
- Log into an account on staging
- Let the session expire
- Trigger any network request
- The app logs you out but sends repeated requests with the expired token
- Multiple duplicate toast alerts appear
What was the expected behavior?
- Log the user out
- Show a single toast alert
- Avoid repeated requests with the expired JWT
Actual behavior
Error logs from Facade:
2025-06-03 09:25:57.245|WARN|-no-tenant|auth:332|Invalid or wrongly signed JWT token, error='Signature has expired', from address='82.140.161.242',host='staging.twillai.com',user-agent='Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36' token: eyJhbGciOiJ...
Notes
Add implementation notes, blockers, and context here
Related
Add wikilinks to related people, meetings, or other tickets