thephongit97/laravel-samesite-clients

Some user agents are known to be incompatible with the `SameSite=None` attribute. This middleware will try to determine and overwrite the Cookie value.

dev-master 2020-01-30 08:55 UTC

This package is auto-updated.

Last update: 2024-04-29 04:27:09 UTC


README

68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f74686570686f6e67697439372f6c61726176656c2d73616d65736974652d696e636f6d70617469626c652d636c69656e7473 Laravel

About

Some user agents are known to be incompatible with the SameSite=None attribute.
This middleware for Laravel will try to determine and overwrite the Cookie value.

Installation

You can install this package via composer using this command:

composer require "thephongit97/laravel-samesite-incompatible-clients"

Service provider will register itself.

you can publish the config file to make some changes.

php artisan vendor:publish --provider="Skorp\SameSite\SameSiteIncompatibleClientsProvider" --tag=config

Links about SameSite Cookie:

https://www.chromium.org/updates/same-site/incompatible-clients
https://web.dev/samesite-cookie-recipes/
https://www.netsparker.com/blog/web-security/same-site-cookie-attribute-prevent-cross-site-request-forgery
https://www.thinktecture.com/identity/samesite/prepare-your-identityserver/

Your feedback is welcome.