Skip to content

Extend Cookie Support for SameSite=None, Secure #30832

@ganeshkarki

Description

@ganeshkarki
  • Laravel Version: 5.5

Description:

Google introduces new Chrome policy, marking all Cookie without samesite flag to 'strict' by default. If you want to allow third party cookies you must set samesite flag to none.

For cookie related logic laravel uses symfony/http-foundation and they already have released the support for it. I am not sure if its good idea or not, but can we update the composer.json to use proper version of htttp-foundation to extend the same support to laravel too?

Symfony Ticket: symfony/symfony#31475
For symfony/http-foundation, the version is 3.4.28

Please consider change like this:

//composer.json
"require": {
    ...
    "symfony/http-foundation": "~3.4.28",
   ...
},

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions