【问题标题】:Microsoft Edge Authentication popupMicrosoft Edge 身份验证弹出窗口
【发布时间】: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


    【解决方案1】:

    对于遇到同样问题的任何人,最后我将项目分为两个项目,一个使用 windows 身份验证,另一个仅使用 JWT 身份验证。

    只有这样才能解决问题。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-11-25
      • 2021-10-25
      • 2019-05-15
      • 1970-01-01
      • 1970-01-01
      • 2017-12-24
      • 2018-02-17
      • 1970-01-01
      相关资源
      最近更新 更多