iframe应用程序中的身份服务器4无法设置cookie

问题描述 投票:0回答:1

我在正常的处理场景中使用身份服务器4它工作正常,但当我在iframe中打开我的应用程序时,当应用程序尝试设置Cookie时我在控制台Set-Cookie header is ignored in response from url: <URL>. Cookie length should be less than or equal to 4096 characters. enter image description here中出错

asp.net asp.net-core identityserver4
1个回答
0
投票

从iframe创建的Cookie称为第三方Cookie。某些浏览器默认阻止它们,而其他浏览器可以配置为阻止它们。你不能重定向到身份服务器?

© www.soinside.com 2019 - 2024. All rights reserved.