[client] Capture x-cwt-token at login and expose session_expires_at (+ optional proactive re-auth) #99

Open
opened 2026-09-09 14:14:32 +00:00 by mat · 0 comments
Owner

Roadmap section: 4. Client — behaviour

  • Capture x-cwt-token at login and expose it (e.g. client.session_expires_at); optionally re-authenticate proactively instead of waiting for a 401.

From the 2026-09 re-exploration lineage of energy.comwatt.com (reverse-engineered as END_USER against SPA bundle main.5d426c11.js, live-probed 2026-08-15; no official API exists). Re-verify against the live API before relying on any claim. Migrated from ROADMAP.md when it was retired.

**Roadmap section: 4. Client — behaviour** - Capture `x-cwt-token` at login and expose it (e.g. `client.session_expires_at`); optionally re-authenticate proactively instead of waiting for a 401. --- *From the 2026-09 re-exploration lineage of `energy.comwatt.com` (reverse-engineered as `END_USER` against SPA bundle `main.5d426c11.js`, live-probed 2026-08-15; no official API exists). Re-verify against the live API before relying on any claim. Migrated from `ROADMAP.md` when it was retired.*
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
mat/python-comwatt-client#99
No description provided.