Skip to content

SameSite cookie option could not be set to "none" #33926

Closed
@ihmels

Description

@ihmels

Symfony version(s) affected: 4.3.*

Description
The PR #31475 allows to set the samesite cookie flag to "none", but it is not allowed in the framework.session.cookie_samesite or remember_me.samesite config.

How to reproduce

# framework.yml
framework:
    session:
        cookie_samesite: 'none'

# or packages/security.yml
security:
    firewalls:
        main:
            remember_me:
              samesite: 'none'

Additional context

The value "none" is not allowed for path "framework.session.cookie_samesite".
Permissible values: null, "lax", "strict"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions