Skip to content

Commit 9d665a6

Browse files
Matthew Smeetsjaviereguiluz
authored andcommitted
Add SameSite=None documentation
1 parent d3694bd commit 9d665a6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

reference/configuration/framework.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1346,6 +1346,10 @@ The possible values for this option are:
13461346

13471347
* ``null``, use it to disable this protection. Same behavior as in older Symfony
13481348
versions.
1349+
* ``'none'`` (or the ``Cookie::SAMESITE_NONE`` constant), use it to allow
1350+
sending of cookies when the HTTP request originated from a different domain
1351+
(Previously this was the default behavior of null, but in newer browsers 'lax'
1352+
would be applied when the header has not been set)
13491353
* ``'strict'`` (or the ``Cookie::SAMESITE_STRICT`` constant), use it to never
13501354
send any cookie when the HTTP request is not originated from the same domain.
13511355
* ``'lax'`` (or the ``Cookie::SAMESITE_LAX`` constant), use it to allow sending

0 commit comments

Comments
 (0)