gorilla/sessions

[FEATURE] <Adding support for Partitioned attribute for 3rd Party Cookie deprecation>

kashishbehl opened this issue · 4 comments

Is there an existing feature request for this?

  • I have searched the existing feature requests

Is your feature request related to a problem? Please describe.

Chrome will be disabling 3rd Party Cookie support by the end of June 2024. As a solution chrome has added support for creating cookies with independent partitioned state called CHIPS.
This will be achieved by adding Partitioned attribute in cookies to allow cookie to be partitioned to the website where it is set.

Describe the solution that you would like.

We need to add support for a new cookie attirbute named Partitioned.

Describe alternatives you have considered.

No response

Anything else?

No response

Getting following issue while get this package and building because of this implementation

Screenshot from 2024-05-08 14-53-57

Getting following issue while get this package and building because of this implementation

Screenshot from 2024-05-08 14-53-57

Running into the same issue.

Edit: Looks like it'll be available in go 1.23 golang/go#62490 (comment)

Thanks for bringing this to our attention. I'll have to take a look at how to fix this.