-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
sameSite 设置无效 #4595
Comments
或者是因为版本升级操作有问题?顺便问一下如何进行版本升级 |
给下最小复现代码仓库 |
Hello @SSShooter. Please provide a reproducible example following the instruction. Issues labeled by @SSShooter,请根据这个说明提供最小可复现代码。 如果在 7 天内没有进展会被自动关闭。 |
1 similar comment
Hello @SSShooter. Please provide a reproducible example following the instruction. Issues labeled by @SSShooter,请根据这个说明提供最小可复现代码。 如果在 7 天内没有进展会被自动关闭。 |
This issue is closed because it has been marked as |
解决了,session 的 sameSite 属性不归 cookies 配置管,这样就行了: config.session = {
key: 'EGG_SESS',
maxAge: 24 * 3600 * 1000 * 30,
httpOnly: true,
encrypt: true,
secure: true,
sameSite: 'None',
} |
|
@gemwuu 你真是乱弹琴吧,这么好复现的东西还问社区要最小复现例子,怎么阿里人是没手了还是咋的。我看就是纯懒政 这玩意整了这么多年都不fix。够衰 就因为你让机器人进入了这个要例子的流程,结果7天自动关了。结果这个issue到今天还是有人能遇到。 |
sameSite 设置无效
复现步骤,错误日志以及相关配置
cookies 成功写入,但没遇 sameSite none
相关环境信息
是否需要配置其他参数?或者引入插件?
The text was updated successfully, but these errors were encountered: