IdentityServer4 +旧版.Net WebForms应用程序 [英] IdentityServer4 + Legacy .Net WebForms Application

查看:105
本文介绍了IdentityServer4 +旧版.Net WebForms应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

IdentityServer4是否支持开箱即用的WebForms应用程序?我不希望将这个应用程序变成科学怪人.

解决方案

基本上,任何oidc提供程序都将为客户端执行此操作,以便与IdentityServer4进行通信.问题不是IdentityServer4是否支持Web应用程序,而是您是否可以找到与IdentityServer4通信的客户端代码.

对于4.5.2应用程序,您可以使用 IdentityServer3 NuGet软件包.请阅读此文章.可以用于网络表单吗?是的,根据问题进行.还有一个网络表单示例.. >

We have a legacy .net 4.5.2 WebForms application that uses an old customized version of IdentityServer2 for auth. We have an opportunity to replace it right now, but all the setup examples I see for IdentityServer4 assume an MVC application.

Does IdentityServer4 support WebForms applications out of the box? I'm not interested in turning this application into anymore of a Frankenstein.

解决方案

Basically any oidc provider will do for the client, in order to communicate with IdentityServer4. The question is not if IdentityServer4 supports web applications, but if you can find client side code to communicate with IdentityServer4.

For 4.5.2 applications you can use IdentityServer3 NuGet packages. Please read this article. Can it be used for webforms? Yes, according to this question. There is also a webforms sample available.

这篇关于IdentityServer4 +旧版.Net WebForms应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆