Skip to content

fix: pass the client's credentials option to the fetcher - #26

Merged
maxholman[bot] merged 1 commit into
masterfrom
fix/client-credentials
Sep 27, 2026
Merged

maxholman[bot] merged 1 commit into
masterfrom
fix/client-credentials

Conversation

@maxholman

@maxholman maxholman Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

The client's config accepts a credentials mode, but the client never passed it to the fetcher, so setting it had no effect. A browser consumer that asked for "include" so cookies would go to another origin quietly got fetch's default instead.

The built-in fetcher already forwards credentials to fetch, so only the client needed the fix. Without the fix, the new test fails.

The config accepted credentials but never forwarded it, so a browser
client set to "include" still sent no cookies cross-origin.

Co-Authored-By: LLM <noreply@maxholman.dev>
@maxholman
maxholman Bot merged commit 071d794 into master Sep 27, 2026
5 checks passed
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