misc: added comment for samesite lax

This commit is contained in:
Sheen Capadngan
2024-06-20 03:29:20 +08:00
parent f0a70d8769
commit 6c98c96a15
+1 -1
View File
@@ -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
}
});