Skip to content

feat: add production Clerk fleet gate for site#102

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

feat: add production Clerk fleet gate for site#102
uptonm merged 1 commit into
mainfrom
feat/fleet-clerk-gate-home

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

Wire @clerk/nextjs into apps/site with a 60s-cached org metadata gate so home.uptonm.dev can be locked from /admin without affecting previews.

Co-authored-by: Cursor <cursoragent@cursor.com>
@uptonm
uptonm merged commit f9b8bdd into main Jul 18, 2026
1 check failed
@uptonm
uptonm deleted the feat/fleet-clerk-gate-home 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)
home Ready Ready Preview, Comment Jul 18, 2026 9:15pm

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