【问题标题】:IdentityServer 4 using IIS使用 IIS 的 IdentityServer 4
【发布时间】:2016-09-12 10:15:27
【问题描述】:

我正在尝试使用 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?

【问题讨论】:

标签: asp.net iis identityserver4


【解决方案1】:

看来我解决了我的问题。

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

项目.json

"publishOptions": {
  "include": [
    "wwwroot",
    "UI",
    "damienbodserver.pfx",
    "web.config"
  ]}

【讨论】:

    猜你喜欢
    • 2017-01-17
    • 1970-01-01
    • 2017-12-07
    • 2019-06-01
    • 1970-01-01
    • 2019-01-16
    • 2017-07-25
    • 2018-04-25
    • 2020-11-04
    相关资源
    最近更新 更多