Skip to content

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

misc: added comment for samesite lax

Sheen Capadngan6c98c96a1599
diff --git a/backend/src/ee/routes/v1/oidc-router.ts b/backend/src/ee/routes/v1/oidc-router.ts
index 04ccd641a5..9efa366bf7 100644
--- a/backend/src/ee/routes/v1/oidc-router.ts
+++ b/backend/src/ee/routes/v1/oidc-router.ts
@@ -40,7 +40,7 @@ export const registerOidcRouter = async (server: FastifyZodProvider) => {
store: redisStore,
cookie: {
secure: appCfg.HTTPS_ENABLED,
- sameSite: "lax"
+ sameSite: "lax" // we want cookies to be sent to Infisical during redirects originating from IDP server
}
});