openam-jp / openam

Other
32 stars 15 forks source link

Add options for Cookie SameSite attribute #206

Open tsujiguchitky opened 4 years ago

tsujiguchitky commented 4 years ago

Description

Starting with Google Chrome 80, scheduled for release in February 2020, the behavior of cookies will change. With Chrome 80, Chrome will treat cookies that have no declared SameSite value as SameSite=Lax cookies. Then, cookies are not set in POST requests from cross-domain.

Testing has shown that this change affects the following configurations and features:

Solution

Add options to set SameSite=None to cookies that are affected when treated as Lax.

We are planning to add the following settings at this time.

We should also consider processing for browsers that are not compatible with SameSite. In particular, macOS 10.14 and iOS 12 can be significantly affected.

References