【发布时间】:2020-08-28 06:22:48
【问题描述】:
我已将 .net core 2.2 API 配置为同时使用 windows 和 JWT 身份验证:
"windowsAuthentication": true,
"anonymousAuthentication": true,
应用程序在 UI 上有 Angular 作为 SPA。现在,该应用程序在 chrome 上运行得非常好,但是在边缘,它一直显示凭据弹出窗口,我无法将其删除。 我还在 Internet 选项的安全选项卡上将站点配置为 *.abc.com,以便所有此类 URL 都是可信的。
失败的网络调用表明edge移除了bearer token并用negotiation替换它,导致401然后弹出。
我会错过什么?
【问题讨论】:
标签: angular7 windows-authentication jwt-auth .net-core-2.2