langflow/src
Cristhian Zanforlin Lousa bdcc238618
refactor: Improve cookie security and centralized utility (#9240)
*  (authContext.tsx): Add setCookieWithOptions function to set cookies with specific options for better security and control
📝 (use-post-refresh-access.ts): Update cookies.set calls to use setCookieWithOptions function for consistent cookie settings
♻️ (utils.ts): Refactor setCookieWithOptions function to include httpOnly option and update sameSite values to lowercase for consistency

* 📝 (frontend): add useGetCookieAuth and useSetCookieAuth hooks for managing cookies in auth context
🔧 (frontend): refactor authStore to use new cookie hooks for managing access token and api key cookies
🔧 (frontend): refactor use-post-logout and use-post-refresh-access to use new cookie hooks for cookie management

* 📝 (frontend): Remove redundant useGetCookieAuth hook and use direct access to cookies in authStore and related components
🔧 (utils): Refactor getAuthCookie and setAuthCookie functions to use react-cookie directly for better code organization and readability
2025-08-01 14:38:01 +00:00
..
backend ref: Increase max file upload size to 1024 MB (#9276) 2025-08-01 14:30:55 +00:00
frontend refactor: Improve cookie security and centralized utility (#9240) 2025-08-01 14:38:01 +00:00