CORS error on `shopify app dev` on the cli reverse proxy with `credentials: "include"`

Open
#8,259 4 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@Dylan-GJ is already working on this.

Since Oct 6, 2026.

  • #8320 by @trippyogi — closed without merging
  • #8803 by @Dylan-GJ — open

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
cli, networking

Research direction

Start with the reverse-proxy path used by shopify app dev and inspect the change referenced in the issue, focusing on how credentialed fetch requests are handled. Done means local backend requests using credentials: "include" no longer fail with a CORS error and the behavior is covered by an appropriate regression check.

Written by the indexing model from the issue text.

Description

Hello, following this change, our local setup no longer works because we use credentials: "include" on some of our fetch requests to our backend.

This PR removes our Access-Control-Allow-Credentials: true header

Originally posted by @Dylan-GJ in https://github.com/Shopify/cli/issues/7164#issuecomment-5207778050

Dominant language
TypeScript
Stars
778
Forks
306
Avg merge
1d 23h
Merged PRs (30d)
108

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Shopify/cli

All issues in Shopify/cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.