Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/dedupe cookie/session logic #4420

Merged
merged 3 commits into from
Apr 24, 2023
Merged

Refactor/dedupe cookie/session logic #4420

merged 3 commits into from
Apr 24, 2023

Conversation

mifi
Copy link
Contributor

@mifi mifi commented Apr 19, 2023

so that we also send sameSite for session cookies
this might fix the issue where sessions are recreated for every single request
note: this is hard to test in dev because it needs a https proxy in front

related #4394

so that we also send sameSite for session cookies
this might fix the issue where sessions are recreated for every single request
@arturi arturi requested a review from aduh95 April 19, 2023 18:46
packages/@uppy/companion/src/server/helpers/jwt.js Outdated Show resolved Hide resolved
packages/@uppy/companion/src/server/helpers/jwt.js Outdated Show resolved Hide resolved
packages/@uppy/companion/src/server/helpers/jwt.js Outdated Show resolved Hide resolved
packages/@uppy/companion/src/server/helpers/jwt.js Outdated Show resolved Hide resolved
Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
@mifi mifi merged commit 354cc30 into main Apr 24, 2023
@mifi mifi deleted the fix-sessions-samesite branch April 24, 2023 12:28
mifi added a commit that referenced this pull request Apr 24, 2023
mifi added a commit that referenced this pull request Apr 24, 2023
Revert "Refactor/dedupe cookie/session logic (#4420)"

This reverts commit 354cc30.
HeavenFox pushed a commit to docsend/uppy that referenced this pull request Jun 27, 2023
* refactor/dedupe cookie logic

so that we also send sameSite for session cookies
this might fix the issue where sessions are recreated for every single request

* "fix" test

* Apply suggestions from code review

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>

---------

Co-authored-by: Antoine du Hamel <antoine@transloadit.com>
HeavenFox pushed a commit to docsend/uppy that referenced this pull request Jun 27, 2023
Revert "Refactor/dedupe cookie/session logic (transloadit#4420)"

This reverts commit 354cc30.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants