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

Clear cookie with samesite=none #27

Merged
merged 3 commits into from Jul 5, 2021

Conversation

Gijsbertbas
Copy link

@Gijsbertbas Gijsbertbas commented Jun 30, 2021

If frontend & backend are not samesite the Bearer cookie does not get cleared which causes endpoints allowing anonymous users to be unavailable in case an invalidated token is present.

This PR forces removing the cookie which I think is the desired effect in any 'samesite' situation.

See for more details this thread: symfony/symfony#36173

Copy link
Member

@RonRademaker RonRademaker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please make sure scrutinizer builds pass before merging

@Gijsbertbas Gijsbertbas merged commit 73c368d into Harborn-digital:master Jul 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants