5

我正在尝试使用 IdentityServer 4。现在我使用此链接https://github.com/IdentityServer/IdentityServer4.Samples作为示例。

我的问题是使用 http://localhost:22530/ IdentityServer 加载和工作,但将它用作我的 IIS 上的托管网站http://identity.test.dev它没有加载。

我已经尝试运行此示例https://github.com/IdentityServer/IdentityServer4.Samples/tree/dev/Mvc/src/IdSvrHost中的代码,但它不起作用。

如何通过http://identity.test.dev在 IIS 下启动 IdentityServer ?

4

1 回答 1

5

看起来我解决了我的问题。

例如,当发布期间并非所有文件夹和文件都标记为要复制时。这就是我添加它们的原因,请参见下面的代码:

项目.json

"publishOptions": {
  "include": [
    "wwwroot",
    "UI",
    "damienbodserver.pfx",
    "web.config"
  ]}
于 2016-06-04T16:57:57.070 回答