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

Disable SameSite setting for session cookies #22

Merged
merged 1 commit into from Mar 10, 2020

Conversation

MKodde
Copy link
Member

@MKodde MKodde commented Mar 10, 2020

The PHP session cookie should not have the samesite lax or strict setting. As this would prevent the session cookie from being present when the remote Azure MFA IdP sends back a SAML response.

So it is set to the for now advisable 'none' setting. Combined with the secure setting, this will be accepted by modern browsers.

See:
https://www.pivotaltracker.com/story/show/171721565
symfony/symfony#31475

The php session cookie should not have the samesite lax or strict
setting. As this would prevent the session cookie from being present
when the remote azure mfa idp sends back a SAML response.

So it is set to the for now advisable 'none' setting. Combined with the
secure setting, this will be accepted by modern browsers.

See:
https://www.pivotaltracker.com/story/show/171721565
symfony/symfony#31475
@MKodde MKodde force-pushed the feature/disable-same-site-directive branch from e5ba28c to 6000af5 Compare March 10, 2020 12:30
@MKodde
Copy link
Member Author

MKodde commented Mar 10, 2020

The build is breaking because of 'some' JS dependencies with security issues. This is addressed in #23

@MKodde MKodde merged commit 687b2bd into develop Mar 10, 2020
@MKodde MKodde deleted the feature/disable-same-site-directive branch March 10, 2020 14:44
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