【问题标题】:IdentityServer4 + Legacy .Net WebForms ApplicationIdentityServer4 + 旧版 .Net WebForms 应用程序
【发布时间】:2018-06-27 20:16:23
【问题描述】:

我们有一个旧的 .net 4.5.2 WebForms 应用程序,它使用旧的自定义版本的 IdentityServer2 进行身份验证。我们现在有机会替换它,但我看到的 IdentityServer4 的所有设置示例都假设一个 MVC 应用程序。

IdentityServer4 是否支持开箱即用的 WebForms 应用程序?我对把这个应用程序变成科学怪人不感兴趣。

【问题讨论】:

标签: asp.net identityserver4


【解决方案1】:

为了与 IdentityServer4 通信,基本上任何 oidc 提供者都会为客户端做事。问题不在于 IdentityServer4 是否支持 Web 应用程序,而是您是否可以找到与 IdentityServer4 通信的客户端代码。

对于 4.5.2 应用程序,您可以使用 IdentityServer3 NuGet 包。请阅读此article。它可以用于网络表单吗?是的,根据this 的问题。还有一个webforms sample 可用。

【讨论】:

    猜你喜欢
    • 2011-12-02
    • 1970-01-01
    • 2010-10-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-31
    • 1970-01-01
    相关资源
    最近更新 更多