Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue openam#206 Add options for Cookie SameSite attribute #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tsujiguchitky
Copy link
Contributor

@tsujiguchitky tsujiguchitky commented Jan 23, 2020

Analysis

Chrome treats cookies that have no declared SameSite value as SameSite=Lax cookies.
As a result, OpenAM has some troubles (See openam-jp/openam#206).

If XUI is enabled, OpenAM set cookies not only on the server side but also on the client side.
Therefore, this project also needs to be changed for SameSite.

Solution

Add a parameter to the method that creates the cookie.

Testing

Test with openam-jp/openam#207

@tsujiguchitky tsujiguchitky self-assigned this Jan 23, 2020
@tsujiguchitky tsujiguchitky force-pushed the issues/openam/206-cookie-samesite branch from 6419534 to 910dd9b Compare October 14, 2020 01:13
@tsujiguchitky tsujiguchitky marked this pull request as ready for review October 15, 2020 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant