-
-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
在设置cookie函数里面,无法自定义的设置SameSite这个参数,
只能通过
context.Response.SameSite = SameSiteType.None;
进行设置,但是SameSiteType.None构造的请求是
"SessionId=1234567;Path=/;Domain=some.com;Expires=Thu, 30 Jun 2022 18:41:16 GMT;HttpOnly;SameSite=None"
收到浏览器错误提示如下:
如果设置
context.Response.SameSite = SameSiteType.None;
SameSite=None
必须这样浏览器才认
SameSite=None; Secure
Metadata
Metadata
Assignees
Labels
No labels