Merge branch 'qa' into verify-check-cookie

This commit is contained in:
Max Peintner
2025-05-19 15:17:05 +02:00
2 changed files with 4 additions and 2 deletions

View File

@@ -31,7 +31,8 @@ async function setSessionHttpOnlyCookie<T>(
value: JSON.stringify(sessions),
httpOnly: true,
path: "/",
sameSite,
sameSite: process.env.NODE_ENV === "production" ? sameSite : "lax",
secure: process.env.NODE_ENV === "production",
});
}

View File

@@ -12,7 +12,8 @@
"ZITADEL_API_URL",
"ZITADEL_SERVICE_USER_TOKEN",
"NEXT_PUBLIC_BASE_PATH",
"CUSTOM_REQUEST_HEADERS"
"CUSTOM_REQUEST_HEADERS",
"NODE_ENV"
],
"tasks": {
"generate": {