Skip to content

fix: include credentials when fetching site.webmanifest#19302

Open
andybons wants to merge 1 commit intoanomalyco:devfrom
andybons:fix/webmanifest-credentials
Open

fix: include credentials when fetching site.webmanifest#19302
andybons wants to merge 1 commit intoanomalyco:devfrom
andybons:fix/webmanifest-credentials

Conversation

@andybons
Copy link
Copy Markdown

@andybons andybons commented Mar 26, 2026

Issue for this PR

Closes #19301

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The <link rel="manifest"> tag fetches /site.webmanifest without credentials by default. When the web app is behind a Cloudflare proxy (e.g. Cloudflare Access), the request gets blocked because cookies aren't sent. Adding crossorigin="use-credentials" tells the browser to include cookies with the manifest fetch. For users not behind a proxy, this is a no-op since same-origin requests already include cookies.

Desktop app is left unchanged since it serves files locally.

How did you verify your code works?

  • bun run test in packages/app: 299 pass, 0 fail
  • Typechecks pass across all 13 packages
  • Verified the attribute is a no-op for same-origin requests without a proxy

Screenshots / recordings

N/A — no UI change, only an HTML attribute addition.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@andybons andybons requested a review from adamdotdevin as a code owner March 26, 2026 14:51
@github-actions github-actions Bot added needs:compliance This means the issue will auto-close after 2 hours. and removed needs:compliance This means the issue will auto-close after 2 hours. labels Mar 26, 2026
@github-actions
Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

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.

web: site.webmanifest fetch fails when running behind a credentialed proxy

1 participant