Skip to content
This repository was archived by the owner on Apr 22, 2022. It is now read-only.
This repository was archived by the owner on Apr 22, 2022. It is now read-only.

Possibility of setting SameSite attribute on Divolte's Cookie #461

Description

@vamsiikrishna

Hi.

I wanted to start a discussion regarding the SameSite attribute.
currently the Cookie that is set by Divolte is without SameSite attribute, it defaults to SameSite=Lax, which is preventing the cookie being sent in a cross-site request.

Options suggested by Chrome developer tools:

Resolve this issue by updating the attributes of the cookie:

-- > Specify SameSite=None and Secure if the cookie should be sent in cross-site requests. This enables third-party use.
--> Specify SameSite=Strict or SameSite=Lax if the cookie should not be sent in cross-site requests.

is it possible to consider allowing the user to configure the SameSite behaviour ?

Thank you.

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