Skip to content

feat: add production Clerk fleet gate#5

Merged
uptonm merged 1 commit into
mainfrom
feat/clerk-fleet-gate
Jul 18, 2026
Merged

feat: add production Clerk fleet gate#5
uptonm merged 1 commit into
mainfrom
feat/clerk-fleet-gate

Conversation

@uptonm

@uptonm uptonm commented Jul 18, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add shared Clerk fleet gate (production-only): when gates.<app> is true in the ops org metadata, require sign-in via https://uptonm.dev/sign-in
  • Vercel env: live keys on Production, test keys on Preview/Development; GATES_ORG_ID Production only

Test plan

  • Site public when gate off
  • After toggle on /admin, within ~60s anonymous users redirect to sign-in

Made with Cursor

Read the shared operations organization with a short cache so Budget can require authentication only when its fleet gate is enabled.

Co-authored-by: Cursor <cursoragent@cursor.com>
@uptonm
uptonm merged commit e5c5edb into main Jul 18, 2026
2 of 3 checks passed
@uptonm
uptonm deleted the feat/clerk-fleet-gate branch July 18, 2026 21:15
@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
budget Ready Ready Preview, Comment Jul 18, 2026 9:16pm

Request Review

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.

1 participant