Skip to content

Commit

Permalink
Disable SameSite setting for session cookies
Browse files Browse the repository at this point in the history
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.

See: https://www.pivotaltracker.com/story/show/171721565
  • Loading branch information
MKodde committed Mar 10, 2020
1 parent 58554e6 commit e5ba28c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/packages/framework.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ framework:
session:
handler_id: null
cookie_secure: auto
cookie_samesite: lax
# SameSite is set to null, which equals none. As we must allow receiving a session cookie from the (trusted)
# remote Azure MFA IdP's
cookie_samesite: null
assets: ~
#esi: true
fragments: true
Expand Down

0 comments on commit e5ba28c

Please sign in to comment.