如何解决身份服务器4的open id配置错误?

问题描述 投票:0回答:2

我正在尝试使用Identity Server 4进行身份验证和授权目的,但是我尝试运行的项目只抛出1个错误,这就像烦恼我很多,因为我已经搜索到这个错误,我无法找到一个稳定和适当的解决方案。

错误:

连接到http://localhost:5000/.well-known/openid-configuration时出错:发送请求时出错。

几个项目,我得到相同的错误,不知道如何解决它:

https://www.dropbox.com/s/9hs3huwt8h035ek/oauth2Demo-master.rar?dl=0

enter image description here

另一个项目:Download但同样的错误

enter image description here

在我的第一个项目中,似乎有一些与SSL证书相关的问题,虽然我试图按照以下链接安装证书,但仍然存在此错误:

https://github.com/IdentityServer/IdentityServer3.Samples/tree/master/source/Certificates

但在我的第二个项目中没有这样的SSL证书问题,但仍然存在相同的错误。

有没有办法解决这个错误?

c# asp.net-core openid-connect identityserver3 identityserver4
2个回答
© www.soinside.com 2019 - 2024. All rights reserved.