This repository has been archived by the owner on Aug 1, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: cookie handling after electron and cypress upgrade
After the upgrades to Electron and Cypress we need to fix our cookie handling. * Electron seems to have changed their cookie handling without notice. We now have to set the `SameSite=None` attribute for cookies which also requires the `Secure` attribute. Fixes #1197. * Cypress now has stricter cookie parsing when using `cy.setCookie()`. This means we have to properly extract the cookie value and ignore the attributes. * The session endpoint was not guarded properly with the authentication token. We fixed that. Signed-off-by: Thomas Scholtes <geigerzaehler@axiom.fm>
- Loading branch information
1 parent
48b17cd
commit 5508f24
Showing
4 changed files
with
24 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters