OpenID Connect集成 [英] OpenID Connect Integration

查看:156
本文介绍了OpenID Connect集成的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ASP.NET样板 ASP.NET Zero 不同,它不包含对第三方身份解决方案的OpenID Connect支持.

ASP.NET Boilerplate unlike ASP.NET Zero does not contain the OpenID Connect support to a third-party Identity Solution.

ASP.NET Boilerplate论坛上的旧帖子(

An older post on the ASP.NET Boilerplate forum (Support for Open ID and JWT?) discusses this topic but does not provide any code example on how to approach this. Has anyone tried this already?

也可以将此功能也添加到ASP.NET Boilerplate中...

It would be fine if this feature could be added to ASP.NET Boilerplate as well...

推荐答案

如果要使应用程序openid连接客户端(而不是服务器),则可以使用Microsoft相关的nuget软件包.

If you want to make your application openid connect client (not server) you can just use Microsoft's related nuget package.

如果您的应用程序是ASP.NET Core,则程序包名称为 Microsoft .AspNetCore.Authentication.OpenIdConnect

If your application is ASP.NET Core then the package name is Microsoft.AspNetCore.Authentication.OpenIdConnect

但是,如果您想成为一个开放ID连接服务器,那就另当别论了.然后,您可以使用Identity Server为例.

But if you want to be an open id connect server, it's a different thing. You can then use Identity Server for example.

这篇关于OpenID Connect集成的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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