Skip to content

Fix session persistence across page navigation - #55

Merged
fishcharlie merged 1 commit into
mainfrom
codex/fix-session-persistence
Aug 21, 2026
Merged

Fix session persistence across page navigation#55
fishcharlie merged 1 commit into
mainfrom
codex/fix-session-persistence

Conversation

@fishcharlie

Copy link
Copy Markdown
Member

Summary

  • scope browser session cookies to the full application so server-rendered refreshes and live-program navigation remain authenticated
  • expire the legacy API-only cookie during sign-in and clear both scopes during logout
  • add regression coverage for document-wide scope and legacy-cookie migration

Testing

  • node --import tsx --test tests/auth.test.ts
  • pnpm typecheck
  • pnpm --filter @signalhaven/backend lint (passes with three pre-existing logger warnings)
  • pnpm exec prettier --check apps/backend/src/auth/middleware.ts apps/backend/tests/auth.test.ts

AI disclosure: This pull request was generated using Codex on behalf of @rrainn.

@fishcharlie
fishcharlie marked this pull request as ready for review August 21, 2026 23:07
@fishcharlie
fishcharlie merged commit 162c687 into main Aug 21, 2026
3 checks passed
@fishcharlie
fishcharlie deleted the codex/fix-session-persistence branch August 21, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant