Skip to content

Comments

Add user_filter to config to allow having lazy checks#15

Open
ardeshireshghi wants to merge 1 commit intopschinis:masterfrom
ardeshireshghi:master
Open

Add user_filter to config to allow having lazy checks#15
ardeshireshghi wants to merge 1 commit intopschinis:masterfrom
ardeshireshghi:master

Conversation

@ardeshireshghi
Copy link

@ardeshireshghi ardeshireshghi commented Feb 17, 2020

config.user_filter is a lambda that receives env runtime and can
decide to add sameSite or not

Bump to "0.2.0"

The rationale for adding this change is, the fact that we want to take into account other Rack environment variables such as other headers to decide whether we want to add the sameSite. For example, we might want to do this conditional to an existing header (IS-MOBILE-APPLICATION)

`config.user_filter` is a lambda that receives env runtime and can
decide to add `sameSite` or not

Bump to "0.2.0"
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