Skip to content

v2.63.10

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Aug 04:59
Immutable release. Only release title and notes can be modified.
dfa723f
  • Optional Sign in with Vercel on /dev-console (PKCE authorize + callback + logout) that sets a signed HttpOnly identity session cookie for Flags identify
  • interactiveRedesign now uses a deduped identify returning { user?: { id, email } } so Segments can target Dylan by email/sub
  • Wired NEXT_PUBLIC_VERCEL_APP_CLIENT_ID / VERCEL_APP_CLIENT_SECRET through config/env.secrets.keys
  • Docs: colocated how-it-works at apps/web/src/auth/vercel/README.md, with short pointers from root README.md (Env Vars) and AGENTS.md (Environment / secrets + agent surfaces)

Human dashboard checklist (required before it works)

  1. Vercel → Team Settings (dylan-gattey) → Apps → Create app
  2. Authorization callback URLs:
    • http://localhost:3000/api/auth/vercel/callback
    • https://dylangattey.com/api/auth/vercel/callback
    • Optionally preview project URL /api/auth/vercel/callback
  3. Permissions / scopes: openid, email, profile (skip offline_access — we store a signed session, not Vercel refresh tokens)
  4. Copy Client ID + Client Secret into project env (Preview + Production) and 1Password vault dg items (same names, value field):
    • NEXT_PUBLIC_VERCEL_APP_CLIENT_ID
    • VERCEL_APP_CLIENT_SECRET
  5. Flags → Entities: user with string attributes id, email
  6. Flags → Segments: e.g. dylan with user.email equals hi@dylangattey.com or user.id equals <sub from first login>
  7. Flag interactive-redesign → target segment dylantrue

Security: any Vercel account can complete OAuth. “Just me” is the segment rule on your id/email, not the login button.

How to verify

  1. Sign in on /dev-console → confirm email/id shown
  2. Confirm segment + flag attachment in the dashboard
  3. Reload site → footer redesign on / flag true for that session
  4. Toolbar overrides remain a zero-code fallback without this login