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

时间:2018-09-06 11:38:35

标签: asp.net asp.net-core identityserver4

我在正常处理情况下使用身份服务器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

1 个答案:

答案 0 :(得分:0)

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

相关问题