Skip to content

website: protect Store admin with Cloudflare Access - #127

Merged
fwerkor merged 3 commits into
mainfrom
feat/snap-admin-cloudflare-access
Aug 19, 2026
Merged

fwerkor merged 3 commits into
mainfrom
feat/snap-admin-cloudflare-access

Conversation

@fwerkor

@fwerkor fwerkor commented Aug 19, 2026

Copy link
Copy Markdown
Owner

Replace the Snap Store administrator PIN/session layer with Cloudflare Access.

  • protect the admin UI and APIs with the live CapOS Snap Admin Access application
  • validate Cf-Access-Jwt-Assertion and the Access audience again inside the Worker
  • disable workers.dev and preview URLs to reduce bypass surface
  • remove PIN login/logout UI and API endpoints
  • add a D1 migration that drops the legacy session/rate-limit tables
  • remove PIN secret setup from the production bootstrap

The public storefront and /embed remain public. TypeScript, production build, Wrangler dry-run, secret scan, and local missing/invalid-JWT checks pass.

@fwerkor
fwerkor enabled auto-merge (squash) August 19, 2026 14:35
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying capos with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1a03795
Status: ✅  Deploy successful!
Preview URL: https://3db3752f.capos.pages.dev
Branch Preview URL: https://feat-snap-admin-cloudflare-a.capos.pages.dev

View logs

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
capos-snap 1a03795 Aug 19 2026, 02:36 PM

@fwerkor
fwerkor merged commit 7193486 into main Aug 19, 2026
11 checks passed
@fwerkor
fwerkor deleted the feat/snap-admin-cloudflare-access branch August 19, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant