Skip to content

fix(frontend): add credentials: 'include' to auth cookie fetches#321

Open
thrawn-sh wants to merge 1 commit into
chriswritescode-dev:mainfrom
thrawn-sh:fix/missing-fetch-credentials
Open

fix(frontend): add credentials: 'include' to auth cookie fetches#321
thrawn-sh wants to merge 1 commit into
chriswritescode-dev:mainfrom
thrawn-sh:fix/missing-fetch-credentials

Conversation

@thrawn-sh

Copy link
Copy Markdown

Ensure auth cookies are sent on cross-origin API requests that were missing credentials: 'include', including auth-info config, file browser, TTS/STT, and the opencode event stream transport.

Summary

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Documentation

Checklist

  • Code follows project style (no comments, named imports)
  • TypeScript types are properly defined
  • Tests added/updated (80% coverage target)
  • pnpm lint passes locally
  • pnpm typecheck passes locally

Ensure auth cookies are sent on cross-origin API requests that were
missing credentials: 'include', including auth-info config, file
browser, TTS/STT, and the opencode event stream transport.
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