From bcfa99677cde6eaec5ea131a2251c5a83ebc424b Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Wed, 14 Jan 2026 07:47:30 +1000 Subject: [PATCH] fix: update dashboard card to match Platform API Keys naming - Rename "API Keys" card to "Platform API Keys" on dashboard overview - Update description to be more specific about use case - Add localhost:3002 to trusted origins for local development --- apps/web/src/app/dashboard/page.tsx | 4 ++-- apps/web/src/lib/auth.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/web/src/app/dashboard/page.tsx b/apps/web/src/app/dashboard/page.tsx index fb205ba..ae540cb 100644 --- a/apps/web/src/app/dashboard/page.tsx +++ b/apps/web/src/app/dashboard/page.tsx @@ -88,9 +88,9 @@ export default function DashboardPage(): React.ReactElement { className="text-foreground-tertiary group-hover:text-primary group-hover:translate-x-1 transition-all" /> -

API Keys

+

Platform API Keys

- Generate keys for programmatic API access + Generate keys to access TPMJS from scripts and CI/CD

diff --git a/apps/web/src/lib/auth.ts b/apps/web/src/lib/auth.ts index 539be99..6ce2f64 100644 --- a/apps/web/src/lib/auth.ts +++ b/apps/web/src/lib/auth.ts @@ -42,7 +42,7 @@ export const auth = betterAuth({ maxAge: 60 * 5, // 5 minutes }, }, - trustedOrigins: ['https://tpmjs.com', 'http://localhost:3000'], + trustedOrigins: ['https://tpmjs.com', 'http://localhost:3000', 'http://localhost:3002'], advanced: { defaultCookieAttributes: { sameSite: 'lax',