thephongit97/laravel-samesite-clients

一些用户代理与 `SameSite=None` 属性不兼容。此中间件将尝试确定并覆盖 Cookie 的值。

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

This package is auto-updated.

Last update: 2024-09-29 05:36:00 UTC


README

Laravel

关于

一些用户代理与 SameSite=None 属性不兼容。
此 Laravel 中间件将尝试确定并覆盖 Cookie 的值。

安装

您可以使用以下命令通过 composer 安装此包:

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

服务提供程序将自动注册。

您可以发布配置文件以进行一些更改。

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

关于 SameSite Cookie 的链接

https://www.chromium.org/updates/same-site/incompatible-clients
https://webdev.ac.cn/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/

欢迎您的反馈。