带有Edge和IE的Identity Server 3
我将问这个问题并回答,以便它帮助可能会遇到问题的其他人.我正在使用隐式流程在主Web应用程序(ASP.NET Web窗体)旁边运行Identity Server 3.在开发过程中,我使用了以下地址:
I'm going to ask this question and answer it so that it helps others that might run into the problem. I am running Identity Server 3 alongside my main web application (ASP.NET Web Forms) with implicit flow. During development I used the following addresses:
- 192.168.1.100 idsrv.company.dev
- 192.168.1.101 dev.company.dev
..并颁发了适当的自签名证书,以使世界开心.现在,我拥有pucka通配符证书,并进行了以下更改:
.. and issued appropriate self-signed certificates so that the world was happy. Now I have a pucka wildcard certificate and have made the following changes:
- 192.168.1.100 idsrv_dev.company.co.uk
- 192.168.1.101 dev.company.co.uk
..,当重定向到登录页面时,Edge和IE出现以下错误:
.. and I get the following error with Edge and IE when being redirected to the login page:
错误:确定您要登录的应用程序时出错.返回应用程序,然后重试.
Error There is an error determining which application you are signing into. Return to the application and try again.
注意:在Chrome和Firefox中可以正常运行
Note: Works fine in Chrome and Firefox
问题是由身份服务器地址中的下划线"_"引起的.将其更改为以下URL可解决此问题:
The problem was caused by the underscore "_" in the identity server address. Changing it to the following url fixed the problem:
- 192.168.1.100 idsrv-dev.company.co.uk