Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cookie sf_redirect and samesite #37301

Closed
Closed
@afiocre

Description

@afiocre

Symfony version(s) affected: 5.1.0

Description
In a simple login page with login guard when i submit the form I have this error message:

Le cookie « sf_redirect » sera bientôt rejeté car son attribut « sameSite » est défini sur « none » ou une valeur invalide, et sans attribut « secure ». Pour en savoir plus sur l’attribut « sameSite », consultez https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite

I use Firefox and in the framework.yaml I have cookie_samesite: lax and in the security.yaml i have try for the remember_me samesite: lax but no difference.

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