Skip to content

Conversation

@ryan953
Copy link
Member

@ryan953 ryan953 commented Jan 14, 2026

Followup to #106059

Before we only sent it in the headers, but the API is still returning "CSRF Failed: CSRF cookie not set." so we need it in both places it seems.

This splits up the name & value parts, so we can set everything very clearly. To cleanup we dont need the cookie names again, we will just set all cookies to have a value of the emptystring.

This change sits within the boundaries we had before; no values are leaving the scope of our dns/domains. As before we're augmenting requests (adding cookies and other headers) as we proxy messages through the page, checking all the same allowlists before we even render the page. These diagrams are still relevant, but show only the cookie argument which is now both session and csfr tokens.

…he sentry API

Before we only sent it in the headers, but the API is still returning "CSRF Failed: CSRF cookie not set." so we need it in both places it seems.

This splits up the name & value parts, so we can set everything very clearly. To cleanup we dont need the cookie names again, we will just set all cookies to have a value of the emptystring
@ryan953 ryan953 requested review from a team as code owners January 14, 2026 18:56
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants