diff --git a/apps/backend/.env b/apps/backend/.env index 1d5159812..5c2d486e5 100644 --- a/apps/backend/.env +++ b/apps/backend/.env @@ -2,8 +2,6 @@ NEXT_PUBLIC_STACK_API_URL=# the base URL of Stack's backend/API. For local development, this is `http://localhost:8102`; for the managed service, this is `https://api.stack-auth.com`. NEXT_PUBLIC_STACK_DASHBOARD_URL=# the URL of Stack's dashboard. For local development, this is `http://localhost:8101`; for the managed service, this is `https://app.stack-auth.com`. STACK_SECRET_SERVER_KEY=# a random, unguessable secret key generated by `pnpm generate-keys` -STACK_INTERNAL_PROJECT_CLIENT_KEY=# enter your Stack publishable client key here. For local development, just enter a random string, then run `pnpm db:reset` -STACK_INTERNAL_PROJECT_SERVER_KEY=# enter your Stack secret server key here. For local development, do the same as above # seed script settings diff --git a/apps/backend/.env.development b/apps/backend/.env.development index c63304553..42fd65b02 100644 --- a/apps/backend/.env.development +++ b/apps/backend/.env.development @@ -1,7 +1,5 @@ NEXT_PUBLIC_STACK_API_URL=http://localhost:8102 NEXT_PUBLIC_STACK_DASHBOARD_URL=http://localhost:8101 -STACK_INTERNAL_PROJECT_CLIENT_KEY=this-publishable-client-key-is-for-local-development-only -STACK_INTERNAL_PROJECT_SERVER_KEY=this-secret-server-key-is-for-local-development-only STACK_SERVER_SECRET=23-wuNpik0gIW4mruTz25rbIvhuuvZFrLOLtL7J4tyo STACK_SEED_INTERNAL_PROJECT_SIGN_UP_ENABLED=true diff --git a/apps/backend/src/stack.tsx b/apps/backend/src/stack.tsx index 323190df8..a2e074212 100644 --- a/apps/backend/src/stack.tsx +++ b/apps/backend/src/stack.tsx @@ -5,6 +5,6 @@ export const stackServerApp = new StackServerApp({ projectId: 'internal', tokenStore: 'memory', baseUrl: getEnvVariable('NEXT_PUBLIC_STACK_API_URL'), - publishableClientKey: getEnvVariable('STACK_INTERNAL_PROJECT_CLIENT_KEY'), - secretServerKey: getEnvVariable('STACK_INTERNAL_PROJECT_SERVER_KEY'), + publishableClientKey: getEnvVariable('STACK_SEED_INTERNAL_PROJECT_PUBLISHABLE_CLIENT_KEY'), + secretServerKey: getEnvVariable('STACK_SEED_INTERNAL_PROJECT_SECRET_SERVER_KEY'), });