diff --git a/tenant/.env b/tenant/.env index 08e0757..f19abf6 100644 --- a/tenant/.env +++ b/tenant/.env @@ -1,4 +1,4 @@ APP_URL=http://localhost FA_URL=http://localhost:9011 FA_API_KEY=33052c8a-c283-4e96-9d2a-eb1215c69f8f-not-for-prod -clientSecret=super-secret-secret-that-should-be-regenerated-for-production \ No newline at end of file +CLIENT_SECRET=super-secret-secret-that-should-be-regenerated-for-production \ No newline at end of file diff --git a/tenant/tenant-creation.js b/tenant/tenant-creation.js index cbb0252..efcdff1 100644 --- a/tenant/tenant-creation.js +++ b/tenant/tenant-creation.js @@ -9,7 +9,7 @@ const appUrl = process.env.APP_URL || 'http://localhost'; const FA_URL = process.env.FA_URL || 'http://localhost:9011'; const FA_API_KEY = process.env.FA_API_KEY || '33052c8a-c283-4e96-9d2a-eb1215c69f8f-not-for-prod'; const client = new FusionAuthClient(FA_API_KEY, FA_URL); -const clientSecret = process.env.clientSecret || "super-secret-secret-that-should-be-regenerated-for-production"; +const clientSecret = process.env.CLIENT_SECRET || "super-secret-secret-that-should-be-regenerated-for-production"; async function deleteTenant(tenantName) { try {