mirror of
https://github.com/oblien/openship.git
synced 2026-11-18 06:55:56 +00:00
* fix(auth): keep the signed-in user when the desktop bootstrap mints a session After an auto-update wipes the browser cookie store, GET /api/auth/get-session falls through to the zero-auth bootstrap, which minted a fresh session for the Local User even when the operator's own sessions were still valid. The app then landed on an empty Local workspace with no way back to the real one. The bootstrap now mints for the owner of the most recently created unexpired session when one belongs to another user, and falls back to the Local User exactly as before when there is none. Fixes #1612 Co-authored-by: Saim Shafique <128062316+sx4im@users.noreply.github.com> * fix(auth): persist the authenticated Desktop installation identity * fix(auth): preserve verified Desktop sessions during bootstrap --------- Co-authored-by: Hydra <abdelhamedmo59@gmail.com> |
History
|
|
|---|---|---|
| .. | ||
| get-session-bootstrap.test.ts | ||
| invitation-preview.test.ts | ||
| invitation-session.test.ts | ||
| invitation-signup.controller.test.ts | ||