Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

removed session references

Sheen Capadngana194e9064490
diff --git a/.env.example b/.env.example
index b9ad6a9073..59c9c59300 100644
--- a/.env.example
+++ b/.env.example
@@ -71,4 +71,3 @@ NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
CLIENT_ID_GOOGLE=
CLIENT_SECRET_GOOGLE=
-SESSION_SECRET=
diff --git a/backend/src/config/index.ts b/backend/src/config/index.ts
index f9d9568d64..6220764753 100644
--- a/backend/src/config/index.ts
+++ b/backend/src/config/index.ts
@@ -41,7 +41,6 @@ export const getClientSlugVercel = async () => (await client.getSecret('CLIENT_S
export const getPostHogHost = async () => (await client.getSecret('POSTHOG_HOST')).secretValue || 'https://app.posthog.com';
export const getPostHogProjectApiKey = async () => (await client.getSecret('POSTHOG_PROJECT_API_KEY')).secretValue || 'phc_nSin8j5q2zdhpFDI1ETmFNUIuTG4DwKVyIigrY10XiE';
export const getSentryDSN = async () => (await client.getSecret('SENTRY_DSN')).secretValue;
-export const getSessionSecret = async () => (await client.getSecret('SESSION_SECRET')).secretValue;
export const getSiteURL = async () => (await client.getSecret('SITE_URL')).secretValue;
export const getSmtpHost = async () => (await client.getSecret('SMTP_HOST')).secretValue;
export const getSmtpSecure = async () => (await client.getSecret('SMTP_SECURE')).secretValue === 'true' || false;
diff --git a/backend/src/index.ts b/backend/src/index.ts
index 98f8171372..3c9bd11c4c 100644
--- a/backend/src/index.ts
+++ b/backend/src/index.ts
@@ -77,7 +77,6 @@ import {
getPort,
getSentryDSN,
getSiteURL,
- getSessionSecret,
} from './config';
import { initializePassport } from './utils/auth';