当前位置:网站首页>ASP.NET Error reported by core 3.1 docking identityserver callback: correlation failed

ASP.NET Error reported by core 3.1 docking identityserver callback: correlation failed

2020-11-10 16:22:40 Xiaochen master

Error report as shown in the figure :

Finally, according to the information we have looked up, it is found that Samesite Cookie The problem of , The solution is as follows :

1. Put... Directly Url Set to https

This is the simplest way ,ASP.NET Core For development time, enable https It's been done very well , Directly in launchSettings.json Set in the applicationUrl by https The address is OK . Try many of the settings available online , Can't solve , It's the simplest of all

2. Set up a browser

This is not recommended , You can't let your users change this setting

chrome visit chrome://flags, Set this to Disabled

3. Other solutions

see also , I haven't tried :

https://www.thinktecture.com/en/identity/samesite/prepare-your-identityserver/

版权声明
本文为[Xiaochen master]所创,转载请带上原文链接,感谢