diff --git a/pages/api/runtime-config.ts b/pages/api/runtime-config.ts
index 253fca283afab65dfd1d524ca1caca50129ab4b4..ca8e6c91cecd3e0f2ab68c8fc849755949027642 100644
--- a/pages/api/runtime-config.ts
+++ b/pages/api/runtime-config.ts
@@ -1,5 +1,4 @@
 import { NextApiRequest, NextApiResponse } from 'next';
-import { getSession } from 'next-auth/react';
 
 interface RuntimeConfig {
   opaPublicBundleUrl: string;
@@ -10,11 +9,6 @@ export default async function handler(
   req: NextApiRequest,
   res: NextApiResponse<RuntimeConfig | { error: string }>,
 ) {
-  const session = await getSession({ req });
-  if (!session) {
-    return res.status(401).json({ error: 'Unauthorized' });
-  }
-
   const config: RuntimeConfig = {
     opaPublicBundleUrl: process.env.OPA_PUBLIC_BUNDLE_URL || '',
     oidcClientId: process.env.NEXTAUTH_CLIENT_ID || '',