PromucFlow_constructor/app
Nidhi 82e9754dc4
chore: Custom cooke resolver and logout on session invalidation (#39695)
## Description
> [!TIP]  
> _Add a TL;DR when the description is longer than 500 words or
extremely technical (helps the content, marketing, and DevRel team)._
>
> _Please also include relevant motivation and context. List any
dependencies that are required for this change. Add links to Notion,
Figma or any other documents that might be relevant to the PR._


Fixes #`Issue Number`  
_or_  
Fixes `Issue URL`
> [!WARNING]  
> _If no issue exists, please create an issue first, and check with the
maintainers if the issue is valid._

## Automation

/ok-to-test tags="@tag.Sanity"

### 🔍 Cypress test results
<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/13813722166>
> Commit: 888e9daf3c84bef2c6d03b2ad5beb1a595e6a323
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=13813722166&attempt=2"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Wed, 12 Mar 2025 16:07:33 UTC
<!-- end of auto-generated comment: Cypress test results  -->


## Communication
Should the DevRel and Marketing teams inform users about this change?
- [ ] Yes
- [ ] No


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

- **New Features**
- Introduced a custom session cookie management system, allowing for
enhanced handling of SameSite attributes based on organization settings.
- Added specific error handling for session invalidation, ensuring a
clear unauthorized response when a session issue occurs.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-03-13 10:13:36 +05:30
..
client chore: skip long tests (#39702) 2025-03-13 00:18:46 +03:00
server chore: Custom cooke resolver and logout on session invalidation (#39695) 2025-03-13 10:13:36 +05:30
util