Cloudflare Workers with Keystatic #1547
|
Is there active work on Cloudflare Workers support? The main blocker seems to be the OAuth flow failing on Cloudflare's runtime — both GitHub and Cloud mode appear affected based on issue |
Replies: 1 comment
|
As of 2026-07-20, the repository shows partial Cloudflare support, but no active fix for the GitHub OAuth failure in #1497 yet. A few details narrow the current status down:
That means the 401 in #1497 is probably later in the callback. In the current code,
So the short answer is: Astro/Cloudflare integration exists and Astro 6 compatibility is being worked on, but GitHub mode on Cloudflare is not confirmed fixed today. Cloud mode should not share this specific blocker. |
As of 2026-07-20, the repository shows partial Cloudflare support, but no active fix for the GitHub OAuth failure in #1497 yet.
A few details narrow the current status down:
locals.runtime.env; it does not change OAuth.stateon the root login is intentional in the current handler.githubLogin()generates a state value, but whenfrom === "/"it redirects without addingstateor theks-*cookie. Those are only added for a non-root return path. The callback also accepts a code without state. Seegeneric.ts.