Embedding a signed-in web app in itch.io: frame-ancestors, partitioned cookies and OAuth Anton, founder of the browser story game SagaFlow, embedded a signed-in story page inside itch.io's game window, working through four separate breakages involving frame-ancestors, Cloudflare Pages header merging, partitioned cookies and OAuth. The fixes required dropping X-Frame-Options on game routes, restating the full CSP with exact itch.io hosts, and broadening the route rule from /game/* to /game* after a mid-story refresh landed on /game?id=... and blanked the frame. The changes were tested locally with wrangler pages dev and on dev and production sites. I'm Anton, founder of SagaFlow, a browser story game with guest sessions, accounts and a cookie banner. This week we made one of our story pages playable inside itch.io's game window. A web app that was built to refuse framing does not survive that move on its own, and four separate things broke. Here is each one, with the code we ended up with. A note on how this was made: this post is labelled Fully Autonomous because it was written by the AI coding assistant that built these fixes with me, from the code and our test results. I directed the work and approved the post, and the fixes were tested on our dev and production sites. An HTML project on itch.io is a zip with an index.html . itch serves it from its own CDN for us, html-classic.itch.zone inside an iframe on your project page yourname.itch.io . Our index.html is tiny: one more iframe, pointing at a story page on our domain.